Microsoft
Software
Hardware
Network
Question : Redirection in batch file
For example
The command line dir>mydir.txt works fine but if i put exactly the same line in a batch file (because I want to use variables like %1) it will work but display a strange output:
ie. "dir 1>mydir.txt"
(and dir
mydir.txt")
and dir>>mydir.txt will be ok,
Answer : Redirection in batch file
Thats fine. > is effectively 1> but when you add a parameter like %1 then dir %1>mydir.txt will become dir % 1>mydir.txt so what you want is dir %1 >mydir.txt !
Steve
Random Solutions
restoring a tar from a tape with an unreadable section
Merging Tiff
How to improve network throughput for Exchange 2007 SP1 CCR
autopostback in JSP
550 RELAY NOT PERMITTED when sending mail to external recipients via JAVAMAIL
Share Point Error: "A Web Part with this ID has already been added to this page."
Custom AD Schema Expansion - How to?
Arithmetic overflow during explicit conversion of NUMERIC value '2147483648' to a INT field .
Hide / Unhide Access Objects
removing nomoregambling.com blocker