Automatically run a batch file
Posted: 26 Jun 2010 20:33
Hi Everyone,
Suppose after creating a text file I go to the file option and select Save As. Then upon selecting the Save As option, a batch file executes and populates the File Name box that pops up with a name that was previously chosen in code, skips a space, and adds the current date. For example if I specified the name MyFile as the file name to be automatically generated and today's date is January 1, 2010, the name of the file will be MyFile 010110 after the batch file executes. Is that possible without having to edit the registry key? Thanks in advance for your help.
Suppose after creating a text file I go to the file option and select Save As. Then upon selecting the Save As option, a batch file executes and populates the File Name box that pops up with a name that was previously chosen in code, skips a space, and adds the current date. For example if I specified the name MyFile as the file name to be automatically generated and today's date is January 1, 2010, the name of the file will be MyFile 010110 after the batch file executes. Is that possible without having to edit the registry key? Thanks in advance for your help.