Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Don't want dos window
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00126830
Message ID:
00126834
Views:
22
>How do you prevent the dos window from appearing when issueing a run on something in winnt\system32 ie.
>
>lcCommand = "c:\winnt\system32\notepad somefile"
>run &lcCommand

Use the API ShellExecute() or WinExec() call rather than the RUN command to launch the app.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform