Chaotic Master
Limp Gawd
- Joined
- Jan 7, 2003
- Messages
- 238
Is there a way to redirect multiple commands to the same line on a file.
For Example:
hostname >> c:\log.txt
ECHO %date% %time% >> c:\log.txt
I want the output in the file to be:
pc1 12:04:15.48 Tue 09/19/2006
This is going to be in a bat file.
For Example:
hostname >> c:\log.txt
ECHO %date% %time% >> c:\log.txt
I want the output in the file to be:
pc1 12:04:15.48 Tue 09/19/2006
This is going to be in a bat file.