How to make a batch file to rename a folder when I start a program? - Let's say I want to start my word.exe, at the same time I need to rename a folder c:\users\my profile\my word documents
to be my documents
and when I exist the word.exe
the batch rename the folder to its original name.
--edited later-- here
here what I need to do
- start the program
- wait until the program is fully loaded
- rename the folder
- the program waits until I close the programit
- when I'm about to close the program it must not close (wait) until the batch rename the folder back
- close the program