Announcement

Collapse
No announcement yet.

Explicitly Open a TXT File Using NotePad

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Explicitly Open a TXT File Using NotePad

    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

  • #2
    Re: Explicitly Open a TXT File Using NotePad

    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!

    Comment


    • #3
      Re: Explicitly Open a TXT File Using NotePad

      I expect I can have a copy of NotePad.exe on the distribution CD, or would I be getting into copyright issues?
      David

      Comment


      • #4
        Re: Explicitly Open a TXT File Using NotePad

        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

        Comment


        • #5
          Re: Explicitly Open a TXT File Using NotePad

          Thank you Adam

          David Kay

          Comment

          Working...
          X