InterviewSolution
| 1. |
Solve : Copier Batch File? |
|
Answer» Ok, I recently made a batch file to copy files from my hard drive to my flash drive but I need a possible way to save and import a text letter so I only need to put the drive letter in once. @echo off tr.bat Quote @echo offThanks man! It should work but I forgot something: In the first batch in this command line: Quote cd C:\Program Files\loggerOk, the text in the blue is the problem. It won't read Program Files correctly as it needs _ in place of a space. But I can't change it without messing up other programs. Is there a macro (example %time%, %username%) for Program Files that will shorten it?Quote from: HypercamJ on May 04, 2008, 05:32:45 PM It won't read Program Files correctly as it needs _ in place of a space. What do you mean? You have a folder called Program_Files? Or you didn't know about quoting paths with SPACES like this "C:\Program Files?" Or you never heard of %ProgramFiles%? Or none of these? |
|