Search found 5 matches
- 30 Aug 2009 21:12
- Forum: DOS Batch Forum
- Topic: for /f command?
- Replies: 4
- Views: 7478
- 29 Aug 2009 16:46
- Forum: DOS Batch Forum
- Topic: for /f command?
- Replies: 4
- Views: 7478
- 27 Aug 2009 21:50
- Forum: DOS Batch Forum
- Topic: for /f command?
- Replies: 4
- Views: 7478
for /f command?
This works fine and displays what I want it to: FOR /F "tokens=1,2,* delims= " %%i in (%path_filename%) do ( if %%i == TIME echo.&echo Time of day is: %%j And here comes the but. When it finds a path or filename with spaces, it can not find the file. If I put " (quotes...
- 03 Aug 2009 00:51
- Forum: DOS Batch Forum
- Topic: help with using substr
- Replies: 8
- Views: 11165
- 02 Aug 2009 22:30
- Forum: DOS Batch Forum
- Topic: Best way to insert/remove line in text file?
- Replies: 1
- Views: 4407
Best way to insert/remove line in text file?
Hello all, Have learned a lot here and thanks for that! I have a problem that I dont have my head into yet and hoping you all can help me. Need to use batch file commands here and I need insert a line of text and then later remove that line depending on what the operator wants. Code showing sample o...