Jump to content
Sign in to follow this  
Edifice

Running hidden cmd's?

Recommended Posts

Edifice

Hello again.

I just made a very simple program that relies on Run commands to start and stop services, like Run("net start wuauserv"), and it works fine.

I just think that the cmd windows are so very ugly and I'm hoping one of you guys know of a way to run them silently?

I know this is kinda outside of Auto-it turf, however, any help is still very appreciated! :)

Share this post


Link to post
Share on other sites
SuneC

Run("net start wuauserv", "", @SW_HIDE)

Setting the 3rd parameter of Run to @SW_HIDE will start the application hidden (not shown on status bar either).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.