I confirm the bug.
A workaround is:
start "TestWindowTitle" /D "D:\Test Folder" test.bat "Parm 1" "Parm 2" "Parm 3"
OR
pushd "D:\Test Folder"
start "TestWindowTitle" test.bat "Parm 1" "Parm 2" "Parm 3"
popd
On Thu, 24 Mar 2005 14:28:34 -0500, "TJT" <(E-Mail Removed)> wrote:
>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.
>
>
Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com