User Tag List

Results 1 to 5 of 5

Thread: Help using cmd

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Help using cmd

    User Info Menu

    Exclamation Help using cmd

    If i want to make cmd type in another file like heres a code :
    @echo off
    start notepad.exe
    ------------------------------
    than i want to make cmd type something inside notepad ... how can i ?

    Plz reply fast :) And plz make it simple .. Thx

  2. #2
    Help using cmd

    User Info Menu

    Re: Help using cmd

    I don't think there is a way to do that. I've tried before.

    What are your intentions?
    Every man for himself. You trust no one but yourself, if you want something done you do it your self don't rely on others. You watch your own back, you fight your own fights its you against the world.

    Quote Originally Posted by Some phag
    -.BUS.-'s mommy says to Cannon, "I love you,
    I love you, I love you"
    The Cannon on the bus says, "I love you, too"
    All through the town.

  3. #3
    Help using cmd

    User Info Menu

    Re: Help using cmd

    There is a way to write stuff using CMD, you can use Echo, although that would write stuff inside the CMD prompt... or you could try MSGBOX that will write whateveryou want in little boxes. OR you can use the SendKey command.... not even sure if that still exists! I´ll do some research when i get something i´ll post it in here.
    My favorite food is 3.14 :P

  4. #4
    Help using cmd

    User Info Menu

    Re: Help using cmd

    Not exactly sure, I have also tried before - depending on what you're planning to do you could use VBScript quite easily:

    Set WshShell = WScript.CreateObject("WScript.Shell")
    WshShell.Run "notepad"
    WScript.Sleep 100
    WshShell.AppActivate "Notepad"
    WScript.Sleep 500
    WshShell.SendKeys "Text Here"

    Credit to: InTh33yesOf (for the VBS code)

  5. #5
    Help using cmd

    User Info Menu

    Re: Help using cmd

    Yep. Use vbscript for that.

Tags for this Thread

Bookmarks

Posting Permissions

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