First post, by DustyShinigami
- Rank
- Oldbie
I thought I’d already started a thread for this, but I guess I’d just imagined/considered it. I’ll use this thread to ask any and all DOS questions, mainly concerning commands etc. My knowledge with DOS is still fairly basic, but I’m interested in learning new things as I go and when I need them.
At the moment I’d like to know if there’s something you can add to a batch file, such as a specific directory, so you don’t need to keep typing it out? For instance, when I’m typing out the directory to unload a possible existing CD image at the start, can I add something so it remembers that path and I can just call what’s needed for adding a new game’s image? So if I have:
C:\SHSUCD\SHSUCDHD /U
C:\SHSUCD\SHSUCDX /U
…to unmount the existing image, but I want to get it to mount the next image, can I do something so only SHSUCDHD and SHSUCDX and their needed switches/assignments are typed out? I figured it would be SET, followed by the location path, but when I tried that it didn’t seem to work. I did use SET twice - one for each of those, so maybe only one path can be set…?
Another thing would be unloading and loading sound utilities. I have UNISOUND configured in my autoexec.bat file, which initialises on boot. But if I want to make use of the onboard sound card and its GM, like the DOS versions of Simon the Sorcerer 1 & 2, which either don’t work with the SC-55 or there’s a hanging note bug, I need to unload UNISOUND first. I’ve added UNISOUND /D in both Simon 1 & 2’s batch file at the start. Then put the commands for loading SBPCI. There are three - one for LOAD, INIT, and MT32. However, it’d be nice to have a command that puts things back after quitting the game. Is such a shortcut possible? Or would I need to type them out at the end to disable one and re-enable the other?
Thanks
OS: Windows 98 SE
CPU: Pentium III Katmai 450MHz (SL35D)/Pentium III Coppermine 933MHz (SL448)
RAM: SK Hynix 128MB 100MHz/Kingston 256MB 133MHz
GPU: Nvidia 16MB Riva TNT/Geforce 128MB 4 MX 440
Motherboard: MSI-6156/Abit BE6-II