main logo
Subject: Re: [NF] Useful DOS prompt CD command
Author: Bill Anderson
Posted: 2005/04/30 23:03:50
 
View Entire Thread
New Search


Gérard Lochon wrote:

> No that isn't it.
>
> I want to put :
> "hello world 1" in a file name HW200504300922 (current datetime)
> "hello world 2" in a file name HW200504300925 ''
> "hello world 3" in a file name HW200504300927 ''
> and so on ...
>
> Gérard.

I'm parachuting into this thread late, so bear with me.

Is the date and time of the creation of the batch file also used to name
the file?

Side note: I do remember I did something like this a loooong time ago. I
think it was 1991. There *is* a way, using DOS batch files, to get all
the required information into the file without using environment
variables -- but it's real tricky.

Fill me in on the details and I might take a whack at it.

Bill Anderson



 
©2005 Bill Anderson
<-- Prior Message New Search Next Message -->