How to write this batch file?

  • Thread starter Thread starter Leo Zhang
  • Start date Start date
L

Leo Zhang

Dear all,
I wanna write a batch file to put a file created date property to a
variable. How can i write this batch file?
 
Dear all,
I wanna write a batch file to put a file created date property to a
variable. How can i write this batch file?
for /f "Tokens=1" %%d in ('dir filename /t:c') do (
set crtdte=%%d
)


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
 
Back
Top