197 reputation
111
bio website
location
age
visits member for 3 years, 6 months
seen Apr 29 at 20:10

Jan
23
comment make a copy of all arguments in a batch
However, just create var1~var9, assign them to %1~%9, using FOR %%A IN (var1 var2....var9) DO works for me.
Jan
23
comment make a copy of all arguments in a batch
Because I need the modified value to pass them to another bat.
Jan
23
comment make a copy of all arguments in a batch
But I can't not modify these values, so I create a copy. This is what I asked here.
Jan
23
asked make a copy of all arguments in a batch
Jan
22
accepted Delete a character from an argument passed to a batch file
Jan
22
comment Delete a character from an argument passed to a batch file
Thanks, it works. But do you know how can I make this works for a received parameter? For example, I don't want to work with a new variable var, I want to manupulate %1, %2, %3 ...directly. I found %1=%var% or SET %1=%var% doesn't change the value of these parameters.
Jan
22
revised Delete a character from an argument passed to a batch file
added 359 characters in body
Jan
22
asked Delete a character from an argument passed to a batch file
Jan
22
accepted How to get the Visual Studio installation path in a batch file
Jan
21
asked How to get the Visual Studio installation path in a batch file
Jan
21
accepted Pass a path with space to a batch file as a parameter
Jan
21
comment Pass a path with space to a batch file as a parameter
Never mind, I found the answer. To make the call successful, it should be "C:\a b\Test.bat" or "C:\a b"\Test.bat
Jan
21
revised Pass a path with space to a batch file as a parameter
added 388 characters in body
Jan
21
comment Pass a path with space to a batch file as a parameter
Sorry, it is just a typo here. In the bat, no such mistake but don't work. I may just upload the file and you may see what's the problem.
Jan
21
comment Pass a path with space to a batch file as a parameter
I mean use quote with %(variable name) just gives me error and it can't call vc64.bat. Without the quotes, it can call vc64.bat, but the parameter is not good.
Jan
21
comment Pass a path with space to a batch file as a parameter
Using "%var5" just give errors like There should not be..... I don't know why.
Jan
21
revised Pass a path with space to a batch file as a parameter
added 77 characters in body
Jan
21
comment Pass a path with space to a batch file as a parameter
This gives me 1> There should not be Files。
Jan
21
awarded  Editor
Jan
21
revised Pass a path with space to a batch file as a parameter
added 317 characters in body