Can it be done?

Discussion in 'Windows - General discussion' started by Pegasis, Feb 10, 2011.

  1. Pegasis

    Pegasis Regular member

    Joined:
    Dec 20, 2007
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    26
    Hello,

    I have recently been exploring command prompt and found it to be extremly useful, mainly for making my usb key bootable with windows 7.iso

    However, to do this is a little long winded, and i was wondering...

    Is it possible for me to write either a .bat or .exe to run the list of commands in command promt i would usually write in myself?

    If so what would be better to write it as? a .bat or .exe

    If it is possible, a little insight on how to would be nice.

    Thanks in advance.
    Pegasis.
     
  2. fanwars

    fanwars Regular member

    Joined:
    Apr 1, 2010
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    26
    If you have just plain commands and simple conditionals, use .bat since they are faster to maintain. Executables for anything more advanced that one couldn't implement easily with batch files.
     
  3. Pegasis

    Pegasis Regular member

    Joined:
    Dec 20, 2007
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    26
    Thanks for the reply, any tips on how to write a .bat or can you point me in the direction of learning?

    Pegasis.
     
  4. fanwars

    fanwars Regular member

    Joined:
    Apr 1, 2010
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    26
  5. Pegasis

    Pegasis Regular member

    Joined:
    Dec 20, 2007
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    26
    Thanks for the info and link, checking it out now.

    Thanks again.
    Pegasis.
     

Share This Page