1.

Solve : Batch File help... file name with spaces?

Answer»

Hi, i just wanted to put a startup on my batch file. If there is space in a path, I can put them in quotes, ("D:\PROGRAM Files\QA Navigator CS\"), but what about if there is space in a file name.

start /d "C:\Program Files\" JoyScribe.exe
start C:\Documents and Settings\hdiqa21\Desktop\Auditor PROD Log - QA21.doc
start D:\Program Files\QA Navigator CS\QA Navigator.exe

"Auditor Prod Log - QA21.doc" and "QA Navigator". Both file name having spaces..any file specification with a space or ampersand requires quotes.How do I write it with "quotes"

start "D:\Program Files\QA Navigator CS\" QA Navigator.exe

This does not work.
Code: [Select]start "D:\Program Files\QA Navigator CS\QA Navigator.exe"
That does not work either. It just opens another cmd window. See screenshot.

[attachment deleted by admin]
Code: [Select]"D:\Program Files\QA Navigator CS\QA Navigator.exe"


you don't NEED start for windows applications.Oh..thanks.....I'm just a beginner to dos........If you do use start for the application, it would be start "" "path/to/app.exe"



Discussion

No Comment Found