Borje Posted November 21, 2019 Posted November 21, 2019 (edited) Hi What I am doing wrong here I can not have this to hide the window when I run it? the @SW_HIDE) not works. ShellExecute("ipconfig.exe","/renew *",@SW_HIDE) ; switch on Edited November 21, 2019 by Borje
Subz Posted November 21, 2019 Posted November 21, 2019 Try using something like Run(@ComSpec & " /c ipconfig /renew", "", @SW_HIDE)
Musashi Posted November 21, 2019 Posted November 21, 2019 15 minutes ago, Borje said: ShellExecute("ipconfig.exe","/renew *",@SW_HIDE) ; switch on For the sake of completeness only (the optional parameters were set incorrectly) : ShellExecute("ipconfig.exe","/renew", "", default, @SW_HIDE) ; switch on "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."
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