Jump to content
Sign in to follow this  

hiding command prompt

Recommended Posts

Hi, im making a script for my own use to shut down the computer, using the cmd command 'shutdown -s -t 01', now scripting it as follows works fine,

Send('shutdown -S -t 01{ENTER}')

but windows pops up with the command prompt and then a window saying "windows will shut down in less than a minute"

is there a way to hide both the command prompt, and the window itself from showing? i know there is a script line, _RunDOS, but i have yet to figure out how to use it. can anyone help me with it? im not p=sure of the proper useage of the script. thanks


Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...