Results 1 to 2 of 2

Thread: Open Notepad with Shell command

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2001
    Location
    Montreal, Quebec
    Posts
    400

    Open Notepad with Shell command

    The following works fine in my uncompiled program. But after compiling I get an error message that the About.txt can't be found. Is there a way of specifying the path:app with or without Shell to open the notepad file?
    Code:
    Shell "Notepad About.txt", 1
    Stan

  2. #2
    Frenzied Member ober0330's Avatar
    Join Date
    Dec 2001
    Location
    OH, USA
    Posts
    1,945
    VB Code:
    1. Shell "Notepad " & App.Path & "\about.txt", vbNormalFocus

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width