3

Want to overwrite a text or ini file using a batch file with a parameter batch file I'm using for this should be:

@echo %1>text.ini

and after running this cmd:

c:\..\text.bat Hello=60

I only get Hello in my ini file the =60 disappeared.

I also remarked, when i do:

@echo %1%2>text.ini

I get Hello60 in my ini file

but I need the Hello=60, can anyone help me for this? Thanks

4

1 回答 1

4
c:\..\text.bat "Hello=60"

@>text.ini echo %~1
于 2013-11-14T18:22:24.110 回答