Making some Debug with echo, date /t and time /t

K

KayZer Soze

I have:
echo NOT_LISTENING >> c:\PORTMON.LOG & TIME /T >> c:\PORTMON.LOG & DATE /T
How can i make the resulting file (c:\PORTMON.LOG) only with ONE line.
Actually, the resulting file have 3 lines
 
M

Matthias Tacke

KayZer said:
I have:
echo NOT_LISTENING >> c:\PORTMON.LOG & TIME /T >> c:\PORTMON.LOG & DATE /T
How can i make the resulting file (c:\PORTMON.LOG) only with ONE line.
Actually, the resulting file have 3 lines
IF your os is w2k or newer:

echo.NOT_LISTENING %time% %date%
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top