Advertisement
caffeine314

DosBox - Win95 image

May 28th, 2025 (edited)
1,255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.77 KB | None | 0 0
  1. @echo off
  2.  
  3. set "DOSBOX_EXE=D:\Program Files\DOSBox-X\dosbox-x.exe"
  4. set "DOGDAY_DIR=E:\Gaming\DosBox\DogDay"
  5. set "WIN_ISO=WIN950~1.ISO"
  6.  
  7. :: A larger disk image (e.g., 500MB–2GB) that emulates a hard drive.  Acts as a
  8. :: virtual C: drive where Win 95 will actually be installed and run.  Created with:
  9. ::    imgmake win95.img -t hd -chs 512,16,63 -size 500
  10. set "WIN_IMG=hdd.img"
  11.  
  12. :: A 1.44MB floppy image that emulates a bootable DOS disk.  Used to boot into DOS
  13. :: so you can partition and format the hard drive and start the Win 95 installer
  14. set "BOOT_IMG=win95b.img"
  15.  
  16.  
  17.  
  18. cd /d "%DOGDAY_DIR%"
  19.  
  20. "%DOSBOX_EXE%" ^
  21.   -c "mount y ." ^
  22.   -c "imgmount 2 y:\%WIN_IMG% -t hdd -fs none -ide 1" ^
  23.   -c "imgmount 3 y:\%WIN_ISO% -t cdrom -ide 2m" ^
  24.   -c "boot y:\%BOOT_IMG%"
  25.  
  26.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement