Dos batch files - help

Discussion in 'NZ Computing' started by Robert, Mar 1, 2004.

  1. Robert

    Robert Guest

    For my convenience I am putting a whole lot of 'DOS' based utilities onto a
    bootable CD.
    Most I select by using batch files & choice and selecting the utitily.
    However I have 3-4 apps that are a DOS app with a switch and then you apply
    some numbers e.g. app.exe /CA xxxxxxx where xxxxxxx is my input. How do I
    make a batch file stop and accept input to pass to the application?

    (BTW - the CD are low level things like motherboard BIOS's, Raid controller
    firmwares, SCSI disk firmwares etc)

    I have tried looking on google but not seen anything helpfull yet.
     
    Robert, Mar 1, 2004
    #1
    1. Advertising

  2. Robert

    Mainlander Guest

    In article <n4C0c.29534$>,
    says...
    > For my convenience I am putting a whole lot of 'DOS' based utilities onto a
    > bootable CD.
    > Most I select by using batch files & choice and selecting the utitily.
    > However I have 3-4 apps that are a DOS app with a switch and then you apply
    > some numbers e.g. app.exe /CA xxxxxxx where xxxxxxx is my input. How do I
    > make a batch file stop and accept input to pass to the application?
    >
    > (BTW - the CD are low level things like motherboard BIOS's, Raid controller
    > firmwares, SCSI disk firmwares etc)
    >
    > I have tried looking on google but not seen anything helpfull yet.


    Write a program in a Dos based compiler e.g. Borland Turbo Pascal or
    Borland Turbo C that receives the input and outputs the corresponding
    errorlevel that you can test for in an if statement. Versions of these
    can be downloaded for free.
     
    Mainlander, Mar 1, 2004
    #2
    1. Advertising

  3. Robert

    John Guest

    On Mon, 1 Mar 2004 21:01:28 +1300, "Robert" <>
    wrote:

    >For my convenience I am putting a whole lot of 'DOS' based utilities onto a
    >bootable CD.


    Check out http://cwashington.netreach.net/ for all your scripting info
     
    John, Mar 1, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Don
    Replies:
    5
    Views:
    2,058
    ┬░Mike┬░
    Feb 11, 2004
  2. Mike

    Dos Batch file

    Mike, Jan 15, 2005, in forum: A+ Certification
    Replies:
    3
    Views:
    525
    Tom MacIntyre
    Jan 19, 2005
  3. thanatoid
    Replies:
    23
    Views:
    1,250
    thanatoid
    Jan 31, 2009
  4. zigzagdna

    Running dos command batch script

    zigzagdna, Jan 9, 2010, in forum: Windows 64bit
    Replies:
    0
    Views:
    527
    zigzagdna
    Jan 9, 2010
  5. zigzagdna

    Running dos command batch script

    zigzagdna, Jan 9, 2010, in forum: Windows 64bit
    Replies:
    0
    Views:
    365
    zigzagdna
    Jan 9, 2010
Loading...

Share This Page