Forum Discussion

pwang's avatar
pwang
Occasional Contributor
3 years ago

How could i hide the CMD window When use the Sys.OleObject("WScript.Shell").Exec(CommandLine)

I just try to use Sys.OleObject("WScript.Shell").Exec(CommandLine) to run some cmd command . But i could see that CMD window always popup when run the cmd command. I am not sure if there is some pa...
  • pwang's avatar
    pwang
    3 years ago

    Thanks for patiently answering my questions!! The solution works for me.