home *** CD-ROM | disk | FTP | other *** search
- echo off
- if x%1==x goto help
- goto start
-
- :help
- echo
- echo Call this batch file as follows:
- echo UNPSRC d:
- echo where d: is the drive where you want
- echo the source files to be sent.
- echo
- echo Be sure to prepare 5 freshly formatted
- echo floppy disks if you are sending the
- echo unpacked source code to drive B:.
- goto done
-
- :start
- if not %1==b: if not %1==B: goto :1
- echo on
- pause Insert FIRST blank, formatted diskette in drive B:
- echo off
-
- rem working disk #1
- unpack mssrc %1 MsBuild.bat
- :1
- unpack mssrc %1 MsDirect.inc
- unpack mssrc %1 Errors.* MsVars.* MsScrn1.* MsString.* MsPtrOp.* EscSeq.* MsCmds.* Int24.*
- if not %1==b: if not %1==B: goto :2
- echo on
- pause Insert SECOND blank, formatted diskette in drive B:
- echo off
-
- rem working disk #2
- unpack mssrc %1 MsBuild.bat MsDirect.inc
- :2
- unpack mssrc %1 MsUser.* Message.* MsMesg.* MsMemOp.* MsBack.* MsScrn2.* MsMenu.*
- unpack mssrc %1 MsCursor.inc MsFileIo.inc MsHelp.inc MsKeyBrd.Inc MsPrint.Inc MsPrompt.Inc MsUserIo.inc MsWindow.inc
- if not %1==b: if not %1==B: goto :3
- echo on
- pause Insert THIRD blank, formatted diskette in drive B:
- echo off
-
- rem working disk #3
- unpack mssrc %1 MsBuild.bat MsDirect.inc
- :3
- unpack mssrc %1 MsDir.* MsEdit.* MsText.* MsTabs.* MsBlok.* MsFind.* MsFile.* MsMacro.*
- if not %1==b: if not %1==B: goto :4
- echo on
- pause Insert FOURTH blank, formatted diskette in drive B:
- echo off
-
- rem working disk #4
- unpack mssrc %1 MsBuild.bat MsDirect.inc
- :4
- unpack mssrc %1 MsSet.* MsPrtM.* MsSpell.* Invoke.* MsInvoke.* MsMain.*
- if not %1==b: if not %1==B: goto :5
- echo on
- pause Insert FIFTH blank, formatted diskette in drive B:
- echo off
-
- rem working disk #5
- unpack mssrc %1 MsBuild.bat MsDirect.inc
- :5
- unpack mssrc %1 Ms.pas
- echo MicroStar unpacking done
-
- :done