204 reputation
1212
bio website
location
age
visits member for 3 years, 11 months
seen Dec 8 at 11:57

Jan
25
comment make a copy of all arguments in a batch
Thanks for the trick set var!i!=%%A , I will try it.
Jan
25
comment make a copy of all arguments in a batch
The problem is that I can't still modify the value of %%P, because %%P will be %1, %2, ...etc
Jan
24
accepted Is that possible (theorically) to recover after each bit is set to 0 and how
Jan
24
asked Is that possible (theorically) to recover after each bit is set to 0 and how
Jan
23
comment make a copy of all arguments in a batch
yes, exact what I want to do, this is the problem.
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.