home *** CD-ROM | disk | FTP | other *** search
- echo off
- echo A Simple demonstration how to link batch files
- echo Does not require MsDos 3.3 like the call command does
- echo By Prof. Timo Salmi, ts@chyde.uwasa.fi, 31-Oct-89
- echo .
- echo off
-
- rem Show where we are now
- echo link1.bat first item
-
- rem Perform another bacth
- rem If necessary, /e: can be used to increase the environment space
- rem Switch /c tells to perform link2 and then return here
- %comspec% /e:1024 /c link2
-
- rem Demonstrate that the rest of this batch is really executed
- echo link1.bat second item
- echo on
-