slipit2u Posted February 6, 2014 Share Posted February 6, 2014 I am trying to run this command via autoit script to uninstall IE11 (it works from command prompt or the run line in windows 7): cmd /c FORFILES /P %WINDIR%servicingPackages /M *11.*.mum /C "cmd /c echo @fname && start /w pkgmgr /up:@fname /quiet /norestart" And am lost on the proper quotations and syntax. RunWait(@ComSpec & " /c " & "cmd /c FORFILES /P %WINDIR%\servicing\Packages /M *11.*.mum /C "cmd /c echo @fname && start /w pkgmgr /up:@fname /quiet /norestart"", "", @SW_HIDE) or RunWait(@ComSpec & " /C " & "FORFILES /P %WINDIR%\servicing\Packages /M *11.*.mum /C ""cmd /c echo @fname && start /w pkgmgr /up:@fname /quiet /norestart""", "", @SW_HIDE) dose nothing. Thank you, Jacob Link to comment Share on other sites More sharing options...
JohnOne Posted February 7, 2014 Share Posted February 7, 2014 I'm quite lousy with these but here's a couple to try. ;Opt("ExpandEnvStrings", 1) RunWait(@ComSpec & " /C FORFILES /P %WINDIR%\servicing\Packages /M *11.*.mum /C cmd /c echo @fname && start /w pkgmgr /up:@fname /quiet /norestart", "", @SW_HIDE) RunWait(@ComSpec & " /C FORFILES /P " & @WindowsDir & "\servicing\Packages /M *11.*.mum /C cmd /c echo @fname && start /w pkgmgr /up:@fname /quiet /norestart", "", @SW_HIDE) AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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