Saved Bookmarks
| 1. |
Solve : How to specify a filename or foldername with space in batch file? |
|
Answer» Can somebody HELP me how to WRITE a CODE in DOS batch file for a filename/foldername with spaces?quote marks Can somebody help me how to write a code in DOS batch file for a filename/foldername with spaces? Examples - This line won't work here (Win98) : cd\test\dir name with spaces This line does work: D:\>cd\test\"dir name with spaces" D:\test\dir name with spaces> Yes. But what if part of the file name (i.e. "Report 2008 April.xls") needed to be calculated based on the current date? How could the string be CONCATENATED? Thanks in advance! |
|