1.

Solve : reference an exe file in the documents and settings?

Answer»

I am ATTEMPTING to CREATE a batch file that starts an exe from an application reference. The application reference is under the “documents and settings” folder. I think the spaces within the folder NAME are interfering with the start commands execution. It cannot FIND the exact path to the file.

How do I reference the path that includes the “documents and settings” folder?



RuthQuote from: ruth.sanders on September 27, 2007, 12:42:33 PM

I am attempting to create a batch file that starts an exe from an application reference. The application reference is under the “documents and settings” folder. I think the spaces within the folder name are interfering with the start commands execution. It cannot find the exact path to the file.

I've never heard of an "application reference". If you MEAN the full path and file name of an executable program or any other type of file, if any of these have spaces in them, enclose the whole thing in quote marks thus

start "C:\Documents and Settings\Jim\Blah Blah\program.exe"

THANK YOU! THANK YOU! THANK YOU!



Discussion

No Comment Found