Replacing date string with current date and saving
Posted: Mon Jun 02, 2003 7:48 pm
Hi,
I'm rather new to TextPad and have read through some postings and help, but can't seem to come across a solution to the following:
I'd like to open an exiting file, find a known date (yyyymmdd), replace that date with the current date, then save the file as filenameyyyymmdd.txt where yyyymmdd is the current date.
I was able to record a macro that opened the file, found the date, but can't seem to figure out how to get the current date into the Search | Replace window.
I'll execute this from vbs file, and do know that I can set NewDate = but can I paste NewDate in the Replace window or something like that?
Sorry if this seems rather lame and ignorant
- but any suggestions would be appreciated very much.
MoGoo
I'm rather new to TextPad and have read through some postings and help, but can't seem to come across a solution to the following:
I'd like to open an exiting file, find a known date (yyyymmdd), replace that date with the current date, then save the file as filenameyyyymmdd.txt where yyyymmdd is the current date.
I was able to record a macro that opened the file, found the date, but can't seem to figure out how to get the current date into the Search | Replace window.
I'll execute this from vbs file, and do know that I can set NewDate = but can I paste NewDate in the Replace window or something like that?
Sorry if this seems rather lame and ignorant
MoGoo