I have a routine that is writing to a batch file that will be called later by the program. The problem is that the batch file has unwanted quotes. If I look at the string to be output in the immediate window it is exactly how I want it. However, when the output is to a file, I get additional quotes.
Immediate window: dir "K:\Docs Library\" /b /s /a:d > C:\Temp\ABC.txt
Output file: "dir ""K:\Docs Library\"" /b /s /a:d > C:\Temp\ABC.txt"
Is there a way to get this to look like I want it to in the output file?
tia,
GGleason
Immediate window: dir "K:\Docs Library\" /b /s /a:d > C:\Temp\ABC.txt
Output file: "dir ""K:\Docs Library\"" /b /s /a:d > C:\Temp\ABC.txt"
Is there a way to get this to look like I want it to in the output file?
tia,
GGleason