| 1. |
Solve : one disk drive? |
|
Answer» How to write commands to MS dos when it has one disk drive on the computer MS-DOS/PC DOS since version 5.0, and later operating systems, assigns drive letters according to the following algorithm: You can't do what you want with only 1 drive...period. Quote from: patio on August 24, 2017, 01:04:33 PM You can't do what you want with only 1 drive...period.Are you sure? A RAMDrive could be created and scandisk copied to that if it fits within the limited size of the RAM Drive. This allocates a section of RAM to act as a virtual hard drive. You can then scan disk the next disk in the drive from say the RAMDisk drive of E: So from E: you would run scandisk A: or with whichever switches you want to use with it for disks placed into A: https://books.google.com/books?id=u7oN-5y7nGsC&pg=PA175&lpg=PA175&dq=ramdrive.sys+dos&source=bl&ots=j6i62HQrs-&sig=flW8BOAJYi7Kc36RcrqXlSDNN9o&hl=en&sa=X&ved=0ahUKEwjn-s_g0vDVAhXG7YMKHUUwBHgQ6AEIUjAH#v=onepage&q=ramdrive.sys%20dos&f=false You need a bootable floppy with DOS 6.22, then configure it for the RAMDRIVE to be active at next boot. Reboot computer and RAM Drive is created. Next copy scandisk to the RAM Drive such as at letter E: and then remove the bootable floppy from A: and insert the disk you want to scan into the drive at A: and from E: run scandisk with whatever switches if any and A: *Is this a homework project? In regards to what salmon said... I do recall many years ago being able to call to a single drive at both A: and B: and it read the disk and I never understood why. I thought that it was messed up somehow since only 1 drive was present. Curious how the A: to B: method would work in a single drive system since the disk removed would take scandisk away with it. RAMDrive is only method I can think of to make this work with scandisk remaining in RAM to be called. Quote from: Salmon Trout on August 24, 2017, 01:10:08 PM Are you sure? He never stated 2 drives...so i'll stick to what i stated...unless we get the full story...Salmon Trout's method works. I wasn't familiar with it so I just gave it a shot in VMWare under MS-DOS 6.22. The VM I have only has one floppy drive. I was able to use chkdsk on a bootable floppy image and run it against a separate image that had only data files using the "Phantom drive" approach. A simple "scandisk B:" when A: is the current drive seemed to do the trick. It PROMPTED for the disk for B:, and I swapped in the data diskette. LKooks like you can also change to the data diskette directly via B: and then run A:\scandisk B: and it prompts for the A: diskette, then the B: Diskette, and the program runs against B:.I can still remember when I upgraded my Epson Equity II XT PC from MS-DOS version v3.3 to v5.0, thanks to a pal who had a spare set of 5.25" floppies. QBasic! the editor! And of course the phantom floppy thing I mentioned above. It had one 5.25" 360K floppy drive. You could run WordPerfect off A: and keep your documents on B: , and the system told you when to swap the disks. Quote from: BC_Programmer on August 24, 2017, 03:07:35 PM Salmon Trout's method works. I wasn't familiar with it so I just gave it a shot in VMWare under MS-DOS 6.22. !!!!!!!!!!!!!!!!! Very Cool on the A: (Phantom B:) approach. Easier than a RAMDrive and your method supports older DOS than 6.22 also. |
|