Hello, I have the following problem VBScript , I want you to execute a command in cmd
Eg "WScript.CreateObject("WScript.Shell").Run "DISM.exe /Online /Cleanup_Image /RestorHealth",1,true"
and it will tell me if it was completed or not, that is, if for some reason it stops at 80% to tell false if completed 100% true, is there any order to check whether or not the integration took place? I thought of doing a function to be a Boolean but nothing happened, please help me
Thanks!!!!!
Eg "WScript.CreateObject("WScript.Shell").Run "DISM.exe /Online /Cleanup_Image /RestorHealth",1,true"
and it will tell me if it was completed or not, that is, if for some reason it stops at 80% to tell false if completed 100% true, is there any order to check whether or not the integration took place? I thought of doing a function to be a Boolean but nothing happened, please help me
Thanks!!!!!