Search found 2 matches
- 26 Jan 2011 21:03
- Forum: DOS Batch Forum
- Topic: string manipulation help
- Replies: 30
- Views: 32996
Re: string manipulation help
what is the exact errror you are getting with your code? use ^|^ instead of | (| does not work directly inside loop). Will there possibility of more than 1 folder ?IF so then a temp file needs to be created which will hold the name of folders containg version match,Can you think of any folder where ...
- 23 Jan 2011 18:05
- Forum: DOS Batch Forum
- Topic: string manipulation help
- Replies: 30
- Views: 32996
Re: string manipulation help
If you want to change to a network directory you can use pushD command. Further, For your last question i guess below should work. 1 ) Take a dir output of your root directory in temp file. DIR /b >%temp%\_dir.txt 2) take the user input using set /p in a varible 3) do a search for user inputed strin...