1.

Solve : adding time to file name?

Answer»

i am trying to make a bat file that will pipe the ruselts frome netstat -a to a uniuck file prefubly DATE and time in the format YYYY-MM-DD-HH-MM-SS if that is at all posable thank youBring the output from date/t and time /t in a variable. (in the CORRECT format.)
Tell me the output you get exactly and I can do it for you if you USE NT4 or Win2k; (don´t KNOW if xp command line works just as WELL.)

If it is in variables it is like:

netstat -a >%var1%%var2%.txt

(I wouldn´t use - in file names)

Maybe someone else is quicker cause I have to visit my dentist and are probably back tomorrow. :-(

uli



Discussion

No Comment Found