In our appliacation, various reminders to the user are recorded in a text file in their documents folder and we programically start notepad when the user wants to refer to them.
Presently i use the following with any indication as to the path to notepad.exe
run /n notepad "path\filename"
However, now the request is to use wordpad! How can I activate wordpad?
On my computer it is located in the "program files\windows NT\accessories" and have to include that in the run command by having
run /n (path\wordpad.exe) "path\filename"
However, I do not know if all workstations will have it located in the same folder.
I suppose I could make sure it is located in a common directory on each workstation, however, I was hoping that there would be some generic way to call wordpad that would work on all xp workstations.
Thanks in advance