Results 1 to 3 of 3

Thread: i got a problem ,pls someone help me !!!!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    92

    Unhappy

    hi !

    i have a problem with the shell command and i don't understand what the problem :

    the command is as follow :

    X = Shell("Notepad.exe & App.Path & "\test_Help.txt", 1)


  2. #2
    Hyperactive Member tumblingdown's Avatar
    Join Date
    Mar 2000
    Posts
    362
    Shell("Notepad.exe " & App.Path & "\test_Help.txt", 1)


    td.

    "One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig


    [email protected]

    "but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.

  3. #3
    Guest
    Don't assign the Shell function a variable.
    X doesn't need to do anything.
    Just use it as above.
    And even though it works both ways, you can also use Notepad.exe without it's extension.

    Shell "Notepad " & App.Path & "\test_Help.txt", 1)
    or
    Shell "Notepad.exe " & App.Path & "\test_Help.txt", 1)

    Works either way .

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