[THIN] Re: OT - Batch scripters - Help an amateur.

  • From: "Ryan Lambert" <rlambert@xxxxxxxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Mon, 22 Dec 2003 16:02:51 -0500

I don't see where it is setting the variables.

 

If I run the program then type set from a DOS prompt, there's no
variables set?

 

-----Original Message-----
From: Robert K Coffman Jr - Info From Data Corporation
[mailto:bcoffman@xxxxxxxxxxxxxxxx] 
Sent: Monday, December 22, 2003 3:38 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: OT - Batch scripters - Help an amateur.

 

My brother wrote a program that will generate a batch file, that, when
run, will put the time and date into environment variables, which you
can then use to rename a file.

 

I'm sure there are other more elegant solutions, but I've emailed this
to you off list.

 

- Bob Coffman

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On
Behalf Of Ryan Lambert
Sent: Monday, December 22, 2003 3:29 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] OT - Batch scripters - Help an amateur.

Hi guys,

 

Very basic issue here.

 

I get a file named: aut.edtout.dgzfex11.dcrd

 

I want to run a script that will take that file, rename it to
aut.home.dgzfex11.$date$time.txt (based on the time the script was run),
then copy it to the c:\Specified  folder.

 

Basic, but I can't get the timestamp to go with the filename correctly.
:-)

 

--

Ryan Lambert, MCP, CCA

Network Engineer

NetSource

1242 East 49th St.

Suite 503-B, Third Floor

Cleveland, OH 44114

Ph/Fax: 216-373-2757

http://www.netsourceit.com/

 

Other related posts: