I want to create a batch file that can do writing, and write characters like ">""nul" into AUTOEXEC.BAT
For example, I want to write del 123.456>nul into AUTOEXEC.BAT
But I found that when I write echo del 123.456>nul>autoexec.bat
what gets written into autoexec is only del 123.456
and the following ">nul" is gone. What's going on?
How can I use a batch file to write characters like ">nul" into another file?
Thanks!!!!
---------- Edited by willsort ----------
Original title changed to: Batch file question
---------- Edited by willsort ----------
[ Last edited by willsort on 2005-10-14 at 13:41 ]
For example, I want to write del 123.456>nul into AUTOEXEC.BAT
But I found that when I write echo del 123.456>nul>autoexec.bat
what gets written into autoexec is only del 123.456
and the following ">nul" is gone. What's going on?
How can I use a batch file to write characters like ">nul" into another file?
Thanks!!!!
---------- Edited by willsort ----------
Original title changed to: Batch file question
---------- Edited by willsort ----------
[ Last edited by willsort on 2005-10-14 at 13:41 ]


