Development Batch Files

Discussion in 'Software' started by Melov, 21 Jan 2008.

  1. Melov

    Melov What's a Dremel?

    Joined:
    30 Apr 2003
    Posts:
    306
    Likes Received:
    1
    Hi everyone, it's been a while!

    I really hate having to do this but I'm completely stomped. I can't figure out batch files to save my life. Can someone throw together two batch files for me? All help is greatly appreciated.

    Batch 1
    1. The routine should use a drive or subdirectory specification entered on the command line to provide a list of files and their attributes in all subdirectories. The output should be piped to the MORE command so that the screen will pause to allow reading.


    Batch 2
    1. The routine should display the volume label by running the program LB.BAT (see below). It should then continue by running the program TY.BAT (see below, but I dont think its needed). After the user is done reading the screen, clear the screen when they are ready to continue.

    Code:
    [B]LB.BAT[/B]
    @echo
    SET %1
    Set /p drivename = "Set drive name to" 
    LABEL %drivename%
    
    Code:
    [B]TY.BAT[/B]
    @echo off
    type %1
    
    ps: I think lb.bat may be wrong... but that is what I came up with
     
    Last edited: 21 Jan 2008

Share This Page