Search found 4 matches
- 29 Sep 2016 07:40
- Forum: DOS Batch Forum
- Topic: stderr output to the file.
- Replies: 8
- Views: 5804
Re: stderr output to the file.
thank you aGerman, Steffen both the scripts worked perfectly. Appreciate it.
- 28 Sep 2016 15:44
- Forum: DOS Batch Forum
- Topic: stderr output to the file.
- Replies: 8
- Views: 5804
Re: stderr output to the file.
that did the trick, putting bracket around transferred error output to the file. is there any way I can append timestamp in the output file?
output.err will look something like.
The system cannot find the path specified. 2016-09-28_17-41-28.60
output.err will look something like.
The system cannot find the path specified. 2016-09-28_17-41-28.60
- 28 Sep 2016 14:15
- Forum: DOS Batch Forum
- Topic: stderr output to the file.
- Replies: 8
- Views: 5804
Re: stderr output to the file.
Squashman,
im giving you example of error, it could be any error, so I want to capture whatever error is thrown by the command.
aGerman,
Path c:\test does exists
I'm surprised that ideally 2> should send error to the file im redirecting to, but it is not.
im giving you example of error, it could be any error, so I want to capture whatever error is thrown by the command.
aGerman,
Path c:\test does exists
I'm surprised that ideally 2> should send error to the file im redirecting to, but it is not.
- 28 Sep 2016 13:07
- Forum: DOS Batch Forum
- Topic: stderr output to the file.
- Replies: 8
- Views: 5804
stderr output to the file.
Hi all, im writing a simple batch file which echo a statement to an output file and for some reason if path for the output file is not available, I want the error to be sent to another file. My batch file script looks like this. echo test > "path for output file " 2> "C:\test\output.e...