PDA

View Full Version : Explicitly Open a TXT File Using NotePad



photoworks
06-13-2001, 06:56 PM
Hello,

I want to explicitly tell AMS to open a TXT file using NotePad. I believe I should be able to pass on the argument but am having trouble.

Could you please tell me what the command would look like and where I would put it?
Thank you in advance.

David Kay

Matthew Walters
06-14-2001, 07:20 AM
You need to know the location for notepad.exe.

Then in execute program:

Target Filename: C:\Windows\notepad.exe
Target Arguments: %srcdrv%MyTextFile.Txt

Should do it!

photoworks
06-14-2001, 08:08 AM
I expect I can have a copy of NotePad.exe on the distribution CD, or would I be getting into copyright issues?
David

Adam
06-14-2001, 08:35 AM
You can usually find notepad.exe in the windows directory, you could use %WinDir%\notepad.exe this should find it on any windows OS. I am not sure about the copyright laws pertaining to the redistribution of notepad.

------------------
Adam Kapilik
Indigo Rose Corporation

photoworks
06-14-2001, 09:54 AM
Thank you Adam

David Kay