ANSWERS: 3
  • I don't think you can. I suspect you're using the wrong tool for the job... what are you trying to accomplish?
  • Go to command prompt and enable echo on; This may help you to run your .bat file.
  • &quot;To display a pipe (|) or redirection character (< or >) when you are using echo, use a caret character immediately before the pipe or redirection character (for example, ^>, ^<, or ^| ). If you need to use the caret character (^), type two (^^)." Source and further information: http://technet.microsoft.com/en-us/library/bb490897.aspx For instance, you can change your command as follows, with a "^" before the first ">": echo echo @echo off ^> filename.bat > anotherfilename.bat In this case, you create by the execution a file "anotherfilename.bat" with the content: echo @echo off > filename.bat

Copyright 2023, Wired Ivy, LLC

Answerbag | Terms of Service | Privacy Policy