Computing.Net > Forums > Windows XP > Batch file: Reading date/file name

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch file: Reading date/file name

Reply to Message Icon

Name: funim
Date: February 11, 2004 at 11:49:23 Pacific
OS: win xp
CPU/Ram: 2.2 p4 512 ram
Comment:

I have a batch file that I change the date(file name) everyday and then run. I would like the batch file to read in files or automatically change the file it is looking for by using the date (actually one day before current date) No need to worry about weekends because this will only be run tues - fri and read mon - thur files.

I have programming experience and can make simple batch files but and no batch file "programming" experience.

Thanks for any help
funim



Sponsored Link
Ads by Google

Response Number 1
Name: dtech
Date: February 11, 2004 at 15:57:48 Pacific
Reply:

Hi
How are the files named.
ie DDMMYY i'm english or MMDDYY or some other format.



0

Response Number 2
Name: funim
Date: February 25, 2004 at 09:02:06 Pacific
Reply:

The format would be MMDDYY or MMDDYYYY doesn't matter which way.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Batch file: Reading date/file name

manipulating dates in file names www.computing.net/answers/windows-xp/manipulating-dates-in-file-names/152153.html

batch file to change file name www.computing.net/answers/windows-xp/batch-file-to-change-file-name/178460.html

Batch file to put create date www.computing.net/answers/windows-xp/batch-file-to-put-create-date/179127.html