|
-
Nov 26th, 2000, 07:54 AM
#1
Thread Starter
Lively Member
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)
-
Nov 26th, 2000, 08:00 AM
#2
Hyperactive Member
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.
-
Nov 26th, 2000, 03:04 PM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|