I run the start command from the command line. The command calls a batch file named D: \ My script.cmd and passes the argument to Argument . Here is the command that I am executing.
C:\Users\ABCUser>start "D:\My script.cmd" "Argument one"
but getting mesasge errors as the system cannot find the file argument one. I do not understand why the command is looking for a file. The contents of the file My script.cmd.
@echo off cls echo "Hello" echo %1
Am I missing something or is the command syntax wrong? This command does not even work for a file name without spaces.
windows cmd batch-file
sagar
source share