Results 1 to 3 of 3

Thread: Action To Shudown Computer

  1. #1
    Normal User
    Join Date
    Oct 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    10
    Rep Power
    5

    Action To Shudown Computer

    anyone knows? i search in forum but the commando [dofile(" ")] doesnt wrok!

  2. #2
    Normal User
    Join Date
    Jun 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    There is a windows function for this: execute cmd and then type "shutdown -s -t 3000". You can change 3000 for the number you want. This will be the seconds remaining to the shutdown.

  3. #3
    Normal User RafiXWPT's Avatar
    Join Date
    Jun 2012
    Location
    (Poland) http://rafixwptscripts.com
    Posts
    1,602
    Mentioned
    31 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    128 Post(s)
    Reputation
    128
    Rep Power
    9
    Quote Originally Posted by raphaelxdxd View Post
    anyone knows? i search in forum but the commando [dofile(" ")] doesnt wrok!
    Lua Code:
    os.execute("shutdown -s -t 1000")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •