GPSPOW
asked on
Coding yesterday's date
Below is a little bit of code I use to add the current date to a file name.
How can I modify the code to add the prior day's date?
copy D:\DTS\DailyTXN\DAILY_ATB_ TXN_DETAIL .txt "\\pmcfs\groups\Accounting \CHI\Daily TxnData\rc a_p1_mt_da ily_txn_"% date:~10,4 %%date:~4, 2%%date:~7 ,2%".csv"
thank you
Glen
How can I modify the code to add the prior day's date?
copy D:\DTS\DailyTXN\DAILY_ATB_
thank you
Glen
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I found it very helpful and was able to modify one of the examples to meet my needs.
Glen