home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / tptools.zip / EDUNPACK.BAT < prev    next >
DOS Batch File  |  1987-12-21  |  652b  |  32 lines

  1.   echo off
  2.   if x%1==x goto help
  3.   goto start
  4.  
  5. :help
  6.   echo 
  7.   echo  Call this batch file as follows:
  8.   echo     EDUNPACK d:
  9.   echo  where d: is the drive where you want
  10.   echo  the source files to be sent.
  11.   echo 
  12.   echo  Be sure to prepare 1 freshly formatted
  13.   echo  floppy disk if you are sending the
  14.   echo  unpacked source code to drive B:.
  15.   goto done
  16.  
  17. :start
  18.   if not %1==b: if not %1==B: goto 1
  19.   echo on
  20.   pause Insert blank, formatted diskette in drive B:
  21.   echo off
  22.   goto 2
  23.  
  24. rem working disk
  25. :1
  26.   unpack firsted %1 *.asm
  27. :2
  28.   unpack firsted %1 *.inc *.obj *.pas *.bat
  29.   echo FirstEd unpacking done
  30.  
  31. :done
  32.