Thank you.
Regards
Search found 5 matches
- 12 Aug 2010 06:51
- Forum: DOS Batch Forum
- Topic: How can I search for quotes in a for loop with findstr?
- Replies: 5
- Views: 6252
- 11 Aug 2010 09:13
- Forum: DOS Batch Forum
- Topic: How can I search for quotes in a for loop with findstr?
- Replies: 5
- Views: 6252
How can I search for quotes in a for loop with findstr?
Hello, in general I could use findstr to search for quotes: findstr /C:""" "someFilecontainingQuotes" Within a script this would work: echo !amPar_Servername!|findstr /C:""" And this would work because of the even number of quotes in the for-loop: for /f "...
- 26 Jul 2010 00:46
- Forum: DOS Batch Forum
- Topic: How can I echo Bla"la (containing one quote) in a text file?
- Replies: 2
- Views: 3813
Re: How can I echo Bla"la (containing one quote) in a text f
Hi aGerman,
thanx a lot, that was exactly the information I was missing.
Sincerely
thanx a lot, that was exactly the information I was missing.
Sincerely
- 26 Jul 2010 00:15
- Forum: DOS Batch Forum
- Topic: i want to replacea character in a text file using batch file
- Replies: 3
- Views: 5025
Re: i want to replacea character in a text file using batch
Hi
you should post what exactly you want to do; at the moment it is too abstract.
You would have to know what exactly you want to replace.
You may want to check out sfk.exe - a free tool which you could download here:
http://stahlworks.com/dev/swiss-file-knife.html
Sincerely
Andi
you should post what exactly you want to do; at the moment it is too abstract.
You would have to know what exactly you want to replace.
You may want to check out sfk.exe - a free tool which you could download here:
http://stahlworks.com/dev/swiss-file-knife.html
Sincerely
Andi
- 23 Jul 2010 08:03
- Forum: DOS Batch Forum
- Topic: How can I echo Bla"la (containing one quote) in a text file?
- Replies: 2
- Views: 3813
How can I echo Bla"la (containing one quote) in a text file?
Hi I am shell scripting in Windows Server 2003/xp. A user of my script could set a path into the variable am_path wrongly. For example set am_path=some"wrongPathwithQuotes So I need to check what he set later from within the script. In order to do that I need to put the contents of am_path into...