Jump to content
Sign in to follow this  
burger

Hide DOS window

Recommended Posts

burger

Is there a way to run a DOS program without bringing up the DOS window while it executes?

Share this post


Link to post
Share on other sites
VeeDub

Is there a way to run a DOS program without bringing up the DOS window while it executes?

Yes, here's an example to give you the general idea

;Build command
Local $Command = @ComSpec & " /c net use " & $Network_Drive & " /del /y"

;Run command
Run($Command, "",@SW_HIDE)

VW

Share this post


Link to post
Share on other sites
burger

Thanks. I found _RunDos which also appears to do the job.

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  

×