Dirk Diggler Posted July 11, 2007 Share 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? Link to comment Share on other sites More sharing options...
MHz Posted July 11, 2007 Share Posted July 11, 2007 Sure, use @SW_HIDE as the window state parameter rather then the working directory parameter. Link to comment Share on other sites More sharing options...
ChrisL Posted July 11, 2007 Share 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 Link to comment Share on other sites More sharing options...
Dirk Diggler Posted July 11, 2007 Author Share Posted July 11, 2007 oops. sorry 8-) Link to comment Share on other sites More sharing options...
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