Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hide DOS command window
Message
 
 
To
31/01/2009 17:25:51
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01378612
Message ID:
01378628
Views:
29
>Hi,
>
>Within a .prg program, I wish to stop the print-spooler using the following command...
>
>RUN net stop "print spooler"
>
>This works fine, but I get a DOS command window appearing for a brief time (less than a second). Is there any way can hide this window?
>
>TIA
>Alan

Hey, Alan -- a name from the past. Here's hoping all is well with you.

Don't hold me to this because I don't have any references handy but seem to remember RUN having an optional /7 parameter that will prevent the DOS window from even flickering.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform