| main.bat contains:|
cscript treat.vbs /a:"the name of file"
REm: the name of file contains many spaces
dim param: param_input=Wscript.Arguments.Named("a")
shell.run "second.bat" param_input & " " & ""myfile.out""
second.bat contains:(just for purpose of test)
When running the main.bat, msgbox shows a popup with all the name file (including all spaces contained within the name of file, while the echo message echo %1 shows the name of file cutting down.
How can I do to workaround that, please?