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
Can I assign a recipient policy for distribution groups?
How do I avoid a runtime error 3011 when using DoCmd.TransferSpreadsheet ?
Additional help with my batch script to check a file's date prior to sending...
Printing a chartspace object with VBA
vcb question
Access ODBC error after moving database
Export acl from all folders in a tree to CSV
I need some help adding a Radiobutton to a preexisting Tkinter form
MS Access: Can a variable date be used in a title within a macro that exports a file?
When printing from Outlook E-mail Print is VERY small