Execute command from windows batch file

execute command from windows batch file

cmd.exe /K ""C:\Program Files\exeNameHere.exe" paramsHere"

    /C Carries out the command specified by string and then terminates
    /K Carries out the command specified by string but remains

Use: cmd /? to see cmd help command

Silent gpupdate

  Remote silent execution  gpupdate /force /wait:0 /quiet  

Mais vistos