T
TJT
Let's say for example that I have a directory named "D:\Test Folder" (with
an embedded space). In this folder is a bat file named test.bat. Here is
the contents of test.bat:
@echo off
echo p1=%1
echo p2=%2
echo p3=%3
If I were to execute this using the following CALL command
CALL "D:\Test Folder\test" "Parm 1" "Parm 2" "Parm 3"
Everything works OK.
Now on the other hand if I try to execute the following START command
start "TestWindowTitle" "D:\Test Folder\test" "Parm 1" "Parm 2" "Parm 3"
I get the following error message in the newly spawned window:
'D:\Test' is not recognized as an internal or external command,
operable program or batch file.
Can someone tell me what I'm doing wrong?
Any help would be greatly appreciated.
an embedded space). In this folder is a bat file named test.bat. Here is
the contents of test.bat:
@echo off
echo p1=%1
echo p2=%2
echo p3=%3
If I were to execute this using the following CALL command
CALL "D:\Test Folder\test" "Parm 1" "Parm 2" "Parm 3"
Everything works OK.
Now on the other hand if I try to execute the following START command
start "TestWindowTitle" "D:\Test Folder\test" "Parm 1" "Parm 2" "Parm 3"
I get the following error message in the newly spawned window:
'D:\Test' is not recognized as an internal or external command,
operable program or batch file.
Can someone tell me what I'm doing wrong?
Any help would be greatly appreciated.