CORRECTIONL that looks like a older version of the white paper.
The command is:
REM Set the date environment variable FOR /F "tokens=2-4 delims=/ " %%i IN ('date /t') DO SET DATE=%%k-%%i-%%j
... and then you issue commands like:
REM Create a new directory for the results MD BACKUPS\%DATE%
On Apr 30, 2005, at 12:07 AM, Gérard Lochon wrote:
> I want to issue some txt in several succesives files. > Do you know how to create, in a dos batch, a file whose name is made > of a prefix (parameter) and the current datetime ?
Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com
©2005 Ted Roche |