Dirk Diggler Posted July 11, 2007 Posted July 11, 2007 Why i can't run cacls in hidden window? RunWait('cacls "C:\Program Files\Far" /E /G Users:F',@SW_HIDE) all is correct. but there are an annoying window blanking when cacls starts is any ways to run it hidden?
MHz Posted July 11, 2007 Posted July 11, 2007 Sure, use @SW_HIDE as the window state parameter rather then the working directory parameter.
ChrisL Posted July 11, 2007 Posted July 11, 2007 (edited) RunWait('cacls "C:\Program Files\Far" /E /G Users:F', "" , @SW_HIDE) The @SW_Hide was in the position of the workingdir parameter Edit: Too slow Edited July 11, 2007 by ChrisL [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now