mirror of
				https://github.com/FDOS/kernel.git
				synced 2025-10-31 19:34:24 +01:00 
			
		
		
		
	git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@483 6ac86273-5f31-0410-b378-82cca8765d1b
		
			
				
	
	
		
			37 lines
		
	
	
		
			635 B
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			635 B
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
| @echo off
 | |
| rem
 | |
| rem Create a distribution floppy
 | |
| rem
 | |
| rem $Header$
 | |
| 
 | |
| set D=A:
 | |
| if "%1" == "b:" set D=B:
 | |
| if "%1" == "B:" set D=B:
 | |
| if "%1" == "b" set D=B:
 | |
| if "%1" == "B" set D=B:
 | |
| 
 | |
| echo This utility will create a distribution floppy on the disk in drive %D%
 | |
| pause
 | |
| 
 | |
| rem try to transfer system files -- abort if it cannot.
 | |
| sys %D%
 | |
| if errorlevel 1 goto out
 | |
| 
 | |
| rem copy remaining files
 | |
| echo copying remaining files...
 | |
| echo copying autoexec.bat...
 | |
| copy autoexec.bat %D%
 | |
| echo copying config.sys..
 | |
| copy config.sys %D%
 | |
| echo copying sys.com..
 | |
| copy sys.com %D%
 | |
| label %D% freedos
 | |
| 
 | |
| rem exit methods
 | |
| goto done
 | |
| :out
 | |
| echo Floppy creation aborted
 | |
| :done
 | |
| set D=
 | |
| 
 |