VOGONS


How to mount multiple CD images with SHSUCD?

Topic actions

Reply 20 of 24, by DustyShinigami

User metadata
Rank l33t
Rank
l33t
Harry Potter wrote on Yesterday, 00:23:

DustyShinigami: Just an unrelated tip: when you run a batch file, DOS will automatically print out every line of the batch file it runs. You can disable this by adding "@echo off" to the beginning of the file. This will tell DOS to not display each line. DOS will reset this at the end of the batch file or when a new batch file starts. Putting @ at the beginning of a line will tell DOS not to display just that line.

Thanks. Oh yeah, I’m aware about the Echo part. Although I wasn’t aware about the @. 🙂 I do sometimes add it, but often I just forget. Once everything’s working as it should, I’ll be sure to add it.

OS: Windows 98 SE
CPU: Slot 1 Pentium III Coppermine 933MHz (SL448)
RAM: Kingston 256MB 133MHz
GPU: Nvidia 16MB Riva TNT/128MB Geforce 4 Ti 4200
Motherboard: ABit AB-BE6-II Intel 440BX
Sound Card: Sound Blaster Live Value CT4670

Reply 21 of 24, by Harry Potter

User metadata
Rank Oldbie
Rank
Oldbie

Good. 😀

Joseph Rose, a.k.a. Harry Potter
Working magic in the computer community

Reply 22 of 24, by DustyShinigami

User metadata
Rank l33t
Rank
l33t
NeoG_ wrote on 2026-04-26, 22:45:
OK so you will need to adjust your strategy somewhat to correctly mount and unmount images multiple times per reboot […]
Show full quote

OK so you will need to adjust your strategy somewhat to correctly mount and unmount images multiple times per reboot

  • Running "SHSUCDX /D:MSCD001" once at boot time in autoexec is fine
  • SHSUCDX needs to be unloaded to correctly run a new drive configration with "SHSUCDX /U" before running it again
  • You have set drive letter "E" which is an unavailable drive letter for the virtual CD, it may affect drive letter assignments
  • After running the game you need to reset SHSUCDHX and SHSUCDHD to remove the virtual images

So at the start of a game's batch file you will need

REM Replace physical drive with virtual drive
SHSUCDX /U
LH SHSUCDHD /F:E:\DOS\MOON\CD1\DISK1.ISO /F:E:\DOS\MOON\CD2\DISK2.ISO /F:E:\DOS\MOON\CD3\DISK3.ISO /F:E:\DOS\MOON\CD4\DISK4.ISO
LH SHSUCDX /D:SHSU-CDH,G

And after the game has run at the end of the batch file

REM Unload virtual CD drive and restore physical drive
SHSUCDX /U
SHSUCDHD /U
LH SHSUCDX /D:MSCD001,G

Great. This works perfectly! Thank you. 😄

So the SHSUCD driver has to be uninstalled first before it can set the virtual drives up properly?

Also, regarding this:

REM Replace physical drive with virtual drive
SHSUCDX /U
LH SHSUCDHD /F:E:\DOS\MOON\CD1\DISK1.ISO /F:E:\DOS\MOON\CD2\DISK2.ISO /F:E:\DOS\MOON\CD3\DISK3.ISO /F:E:\DOS\MOON\CD4\DISK4.ISO
LH SHSUCDX /D:SHSU-CDH,G

Not sure if it was intentional, but I see you’ve added each disk on a new line. Can that be done in a batch file? Because when I tried it just gave me a Bad command or file name for each. Like it doesn’t understand the break and that the first line is linked to the other commands.

OS: Windows 98 SE
CPU: Slot 1 Pentium III Coppermine 933MHz (SL448)
RAM: Kingston 256MB 133MHz
GPU: Nvidia 16MB Riva TNT/128MB Geforce 4 Ti 4200
Motherboard: ABit AB-BE6-II Intel 440BX
Sound Card: Sound Blaster Live Value CT4670

Reply 23 of 24, by NeoG_

User metadata
Rank Oldbie
Rank
Oldbie

It’s a formatting issue on the forum, I didn’t put each disc on a new line it just appears that way on smaller screens because of word wrap

98/DOS Rig: BabyAT AladdinV, K6-2+/550, V3 2000, 128MB PC100, 20GB HDD, 128GB SD2IDE, SB Live!, SB16-SCSI, PicoGUS, WP32 McCake, iNFRA CD, ZIP100
XP Rig: Lian Li PC-10 ATX, Gigabyte X38-DQ6, Core2Duo E6850, ATi HD5870, 2GB DDR2, 2TB HDD, X-Fi XtremeGamer

Reply 24 of 24, by DustyShinigami

User metadata
Rank l33t
Rank
l33t
NeoG_ wrote on Yesterday, 22:06:

It’s a formatting issue on the forum, I didn’t put each disc on a new line it just appears that way on smaller screens because of word wrap

Ahh, so it does. Yeah, I was looking at it on my phone at the time. ^^;

OS: Windows 98 SE
CPU: Slot 1 Pentium III Coppermine 933MHz (SL448)
RAM: Kingston 256MB 133MHz
GPU: Nvidia 16MB Riva TNT/128MB Geforce 4 Ti 4200
Motherboard: ABit AB-BE6-II Intel 440BX
Sound Card: Sound Blaster Live Value CT4670