1.

Solve : error in batch file1?

Answer»

If I put the following statement in the RUN of VISTA it works property. However, if I copy the data from the RUN window and put it into a batch file created in WordPad I get the errors shown and can't understand why.

The RUN COMMAND line is:
C:\Program Files\Yahoo & Google Historical QUOTES Downloader\ydownloaderpr.exe -a -x C:\finance\mutual fund investments\get prices\data.txt"" -d ""C:\finance\mutual fund investments\get prices -t 5/8/2008 -e 5/8/2008

When attempting to run as a batch file I get the following errors:

'C:\Program' is not recognized as an internal or external command,
'Google' is not recognized as an internal or external command, operable program or batch file.

What obvious thing am I Missing?I finally discovered the PROBLEM. I have SPACES in the path. I enclosed both paths in "" and it works just fine.



Discussion

No Comment Found