Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a PIF file.
Message
From
05/09/2002 16:15:03
 
 
To
05/09/2002 12:23:34
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00697133
Message ID:
00697244
Views:
14
>Hello,
>
>I have a DOS program that I run via oShell WSH and that works fine but does not close the window upon the program finishing.
>
>Is there a property or an option in oShell that says to close upon finishing ?
>
>OR
>
>Is there a WSH command that will allow me to create a PIF file just as I do with a desktop short cut?
>
>Thanks,
>
>-Greg


Try this
oShell.Run('command /c MyProgram.exe')

Herman
Herman
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform