Saved Bookmarks
| 1. |
Solve : determing the creation date of a file in batch? |
|
Answer» how can you check to see the creation date of a file in a batch PROG? ok that works but how can i get the creation date of a specific file and place it into a variable? Code: [SELECT]@echo off set filename=test.txt for /f %%D in ('dir /B /T:C "%filename%"') do set creation-date=%%~tD echo %filename% CREATED %creation-date% thanks Dias |
|