Computing.Net > Forums > Windows NT > NT Batch - passing date in DD-MON-YYYY format to program

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.

NT Batch - passing date in DD-MON-YYYY format to program

Reply to Message Icon

Name: russ
Date: May 17, 2000 at 09:11:39 Pacific
Comment:

I have a batch file that invokes a program that I need to pass the date in the format "DD-MON-YYYY" (ie: 12-JAN-2000). How do I get the date in a batch file in this format and then pass it on the command line to a program (ie: c:\prog.exe "DD-MON-YYYY".

Thanks for any help.



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 NT Forum Home


Sponsored links

Ads by Google


Results for: NT Batch - passing date in DD-MON-YYYY format to program

Passing date as variable in FTP script www.computing.net/answers/windows-nt/passing-date-as-variable-in-ftp-script/9672.html

Running multiple exe's in an NT batch fi www.computing.net/answers/windows-nt/running-multiple-exes-in-an-nt-batch-fi/12017.html

Key in NT Registry for Date/Time www.computing.net/answers/windows-nt/key-in-nt-registry-for-datetime-/22383.html