kudass
08-08-2008, 09:29 AM
I am currently trying to create a batch file to rename a log file to if it exceed 200kb. can anyone help me out.
i can rename the file with this command.
for /f "tokens=1-5 delims=/ " %%d in ("%date%") do rename "send.log" send%%e-%%f-%%g.log
but can anyone tell me what command to use for batch file to check it the log file exceed 200kb.
thanks in advance.
i can rename the file with this command.
for /f "tokens=1-5 delims=/ " %%d in ("%date%") do rename "send.log" send%%e-%%f-%%g.log
but can anyone tell me what command to use for batch file to check it the log file exceed 200kb.
thanks in advance.