Home > Software engineering >  VBS can't open it
VBS can't open it

Time:09-17

Ws. Run "CMD. Exe/c shutdown -r -t 0 c"
Why can't open
Can't find hints file system

CodePudding user response:

Ws. Run "shutdown -r -t 0 c"

CodePudding user response:

Try to download

CodePudding user response:

File location problem

CodePudding user response:

If you want to just the implementation of the "shutdown -r -t 0 c" the CMD command, then:
Ser ws=CreateObject (" WScript. Shell ")
Ws. Run "shutdown -r -t 0 c", 0

CodePudding user response:

 ws. Run "CMD. Exe/c shutdown -r -t 0 c" 

Note: CMD. Exe and add a space between/c.
  • Related