Command Prompt

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kodakk
    Member
    • Oct 2006
    • 3486

    #1

    Command Prompt

    Ok, I have a quick question for all you tech people out there.

    I want to be able to run command prompt code through a batch file, rather than from in the command prompt.

    I have a .bat file (created in notepad) that I used to open command prompt (I'm at school)... but I want to be able to run command prompt stuff through the same notepad .bat file.

    I know it's possible, but can anybody tell me how?
    I tried typing it on the next line, but that didn't work.
  • camper.
    Member
    • Dec 2006
    • 3459

    #2
    Re: Command Prompt

    You don't need to start command prompt. What you are doing now, is the equivalent of opening up Explorer, then browsing all the way to your windows folder, and opening up Explorer.exe from there just making a new window.

    Just type the commands straight in, one command per line.

    Comment

    • Kodakk
      Member
      • Oct 2006
      • 3486

      #3
      Re: Command Prompt

      in internet explorer? not following.

      the school command prompt has filters on it to block access to certain areas.
      the .bat bypasses that so i need to run command prompt stuff through the .bat, so how?

      Comment

      • Lee

        #4
        Re: Command Prompt

        Notepad. Type "command.com". Save as "blah.bat".

        Comment

        Working...