Batch file command line arguments
Posted
by Hema Joshi
on Stack Overflow
See other posts from Stack Overflow
or by Hema Joshi
Published on 2010-05-21T07:51:29Z
Indexed on
2010/05/21
8:00 UTC
Read the original article
Hit count: 341
hi i want to execute a command that is saved as a string
e.g
test.bat
call temp.bat "echo hello world" "echo welcome"
temp.bat
set first=%1
set sec=%2
%first%
%sec%
please tell me how to do this
thanks
© Stack Overflow or respective owner