Results 1 to 17 of 17

Thread: Whats the command for cmd?

  1. #1
    Join Date
    Oct 2007
    Location
    brooklyn, new york
    Posts
    258
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Whats the command for cmd?

    So that i can shut down, hibernate, run files, whatever i wanna do. How can i make the script execute commands in cmd?

  2. #2
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Start + Run + Cmd + Command.

    You can open the startmenu with a clickmouse, or finding the keycode for it.

    Also, you can do Alt + R as far as I know to open the Run dialog.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  3. #3
    Join Date
    Oct 2007
    Location
    brooklyn, new york
    Posts
    258
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  4. #4
    Join Date
    Apr 2007
    Posts
    2,593
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Save this in a .bat file:
    Code:
    shutdown -r -t
    That'll restart.

  5. #5
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Enable API calls in SCAR then you should be able todo all that using .bat files. Also for writing to a .txt use SCAR's file commands. OpenFile, WriteFileString, RewriteFile, and CloseFile.

    If you need more help feel free to ask me
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  6. #6
    Join Date
    Oct 2007
    Location
    brooklyn, new york
    Posts
    258
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    Enable API calls in SCAR then you should be able todo all that using .bat files. Also for writing to a .txt use SCAR's file commands. OpenFile, WriteFileString, RewriteFile, and CloseFile.

    If you need more help feel free to ask me
    Kk thx guys, my auto shutdown / hibernate is working pretty sexy now. Gonna put it into my spinner and woodcutter.

  7. #7
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Holding the Windows key and tapping R will show the run dialog without even showing the start menu.

  8. #8
    Join Date
    Mar 2009
    Location
    About six feet off the ground.
    Posts
    95
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I would think that you could Mouse to click the start button and then SendKeys "R" to open Run, TypeSend command, then do what you will...
    ~Zeek
    Last major script: November 2009
    Attempted to rejoin: January 2011
    Rejoining: [][][][][]
    Current task: writing basic alching script

  9. #9
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by zeeky111 View Post
    I would think that you could Mouse to click the start button and then SendKeys "R" to open Run, TypeSend command, then do what you will...
    XP doesn't have auto search

    this would only work for vista..

  10. #10
    Join Date
    Jan 2007
    Location
    Kansas
    Posts
    3,760
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by 99_ View Post
    XP doesn't have auto search

    this would only work for vista..
    Definitely works...


  11. #11
    Join Date
    Oct 2007
    Location
    brooklyn, new york
    Posts
    258
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Da 0wner View Post
    Holding the Windows key and tapping R will show the run dialog without even showing the start menu.
    I think that is the best way to approach this without an injection. once u do windows key + r it automatically puts ur character into the line so you do not need to click anything, just press both keys then just send keys w/e command you like, works perfect for me. Using xp.

  12. #12
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by 99_ View Post
    XP doesn't have auto search

    this would only work for vista..
    'R' is the shortcut for Run; works fine in xp & further back.
    Interested in C# and Electrical Engineering? This might interest you.

  13. #13
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    OMGWTFHAX!



    that's crazy yo!

    sorry to whoever I said that wouldn't work

  14. #14
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That dosen't work on Vista though. At least my computer. When I press Windows key and press R and press enter, it opens Call of Duty 4 lol.

  15. #15
    Join Date
    Oct 2007
    Location
    brooklyn, new york
    Posts
    258
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Da 0wner View Post
    That dosen't work on Vista though. At least my computer. When I press Windows key and press R and press enter, it opens Call of Duty 4 lol.
    it does. i am dual booted with vista and xp. And it works on both for me. just type in shutdown -r into the white search box when u press start in vista.

  16. #16
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ohh, I thought you were trying to open the cmd prompt. Yeah that will work.

  17. #17
    Join Date
    Oct 2007
    Location
    brooklyn, new york
    Posts
    258
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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