princessk1
Programmer
Hi there,
I am trying to call an exe using the Shell command. The exe was created by another user and is a dos shortcut. My program passes over the line that calls the exe without error but the exe doesn't run. Here is the line of code I am using:
Shell("C:\PROGRA~1\POLLING\FILESA~1\GWBASIC.EXE 4305prog"
The user that created the exe told me to copy the cmd line from the properties window of the DOS shortcut and use it to call the exe.
Any ideas as to why this won't execute the external program?
Thanks in advance.
I am trying to call an exe using the Shell command. The exe was created by another user and is a dos shortcut. My program passes over the line that calls the exe without error but the exe doesn't run. Here is the line of code I am using:
Shell("C:\PROGRA~1\POLLING\FILESA~1\GWBASIC.EXE 4305prog"
The user that created the exe told me to copy the cmd line from the properties window of the DOS shortcut and use it to call the exe.
Any ideas as to why this won't execute the external program?
Thanks in advance.