VOGONS


First post, by kirikl

User metadata
Rank Newbie
Rank
Newbie

Hello. I just want to know if it's possible to copy command.com to c: (ram drive) and THEN redirect it so laptop is not using FDD every time to execute commands. Executing command.com form c: after is ok, but it takes so much memory 😒

DFI K6vx+66/k6-2+ @550/768mb/GF 2 mx400
HP TC4200 +SSD
Sony Vaio PCG-SRX99+SSD
Sony Vaio PCG-505TR +SSD
Sony Vaio Picturebook C1+SSD
Compaq LTE Elite 4/75CXL +CF
Toshiba T3100e/40+CF
Tandy 1400 LT
PowerBook G4 1.33
PowerBook G3 300
iBook Clamshell 300

Reply 1 of 10, by AlaricD

User metadata
Rank Member
Rank
Member

Yes, you can copy command.com to the RAM drive and then set the COMSPEC variable to point to the new location. Put that in the AUTOEXEC.BAT after the command that copies COMMAND.COM to the RAM drive:

COPY A:\COMMAND.COM C:\COMMAND.COM /B
SET COMSPEC=C:\COMMAND.COM

Reply 2 of 10, by kirikl

User metadata
Rank Newbie
Rank
Newbie

What DOS version it started from?
I'll try later today. I have tandy DOS (ibm?) 3.20

DFI K6vx+66/k6-2+ @550/768mb/GF 2 mx400
HP TC4200 +SSD
Sony Vaio PCG-SRX99+SSD
Sony Vaio PCG-505TR +SSD
Sony Vaio Picturebook C1+SSD
Compaq LTE Elite 4/75CXL +CF
Toshiba T3100e/40+CF
Tandy 1400 LT
PowerBook G4 1.33
PowerBook G3 300
iBook Clamshell 300

Reply 3 of 10, by AlaricD

User metadata
Rank Member
Rank
Member
kirikl wrote on 2020-09-11, 19:25:

What DOS version it started from?
I'll try later today. I have tandy DOS (ibm?) 3.20

When I had a Tandy 1000 SL or similar, I think I was using 6.0 or 6.22 with my boot diskettes but the COMSPEC variable goes way back, it should be supported in older MS-DOS (and other) versions. I used the above method to boot from a diskette and copy both command.com and Telix to the RAM drive, so then I could dial into my favorite BBSes and download things to the floppy so I could use the full capacity of the diskette for downloads.

Reply 4 of 10, by kirikl

User metadata
Rank Newbie
Rank
Newbie
AlaricD wrote on 2020-09-11, 19:46:
kirikl wrote on 2020-09-11, 19:25:

What DOS version it started from?
I'll try later today. I have tandy DOS (ibm?) 3.20

When I had a Tandy 1000 SL or similar, I think I was using 6.0 or 6.22 with my boot diskettes but the COMSPEC variable goes way back, it should be supported in older MS-DOS (and other) versions. I used the above method to boot from a diskette and copy both command.com and Telix to the RAM drive, so then I could dial into my favorite BBSes and download things to the floppy so I could use the full capacity of the diskette for downloads.

Didn't work. Problem is that specific ram disk driver works and patched with 3.20. So if I ran Ms-DOS 6.22, which I did everything is non specific. FDD is 360k... and RAM disk driver is using regular memory, not that bonus one 640 (+128KB)

DFI K6vx+66/k6-2+ @550/768mb/GF 2 mx400
HP TC4200 +SSD
Sony Vaio PCG-SRX99+SSD
Sony Vaio PCG-505TR +SSD
Sony Vaio Picturebook C1+SSD
Compaq LTE Elite 4/75CXL +CF
Toshiba T3100e/40+CF
Tandy 1400 LT
PowerBook G4 1.33
PowerBook G3 300
iBook Clamshell 300

Reply 5 of 10, by AlaricD

User metadata
Rank Member
Rank
Member

Well, I misunderstood your question or you misunderstood my answer. Use the command.com that the RAM disk works with. I was just mentioning that this technique should work with DOS versions other than the one I was using.

Basically, if you can boot from a floppy and it makes a RAM disk for you, you just want your AUTOEXEC.BAT to copy the same command.com that works with the RAM drive to it, and then set the COMSPEC variable to point to that location.

Last edited by AlaricD on 2020-09-11, 22:12. Edited 1 time in total.

Reply 6 of 10, by kirikl

User metadata
Rank Newbie
Rank
Newbie

Yes. But comspec doesn't work this way for some reason 🙁 still asking A: everytime
I'll try to work around with later DOS

DFI K6vx+66/k6-2+ @550/768mb/GF 2 mx400
HP TC4200 +SSD
Sony Vaio PCG-SRX99+SSD
Sony Vaio PCG-505TR +SSD
Sony Vaio Picturebook C1+SSD
Compaq LTE Elite 4/75CXL +CF
Toshiba T3100e/40+CF
Tandy 1400 LT
PowerBook G4 1.33
PowerBook G3 300
iBook Clamshell 300

Reply 7 of 10, by AlaricD

User metadata
Rank Member
Rank
Member

You might also need to set the PATH= variable to NOT use A:, in case you type a command and it's trying to find files on a diskette that's not inserted.

What is the exact error message you are getting when you try this?

Reply 8 of 10, by kirikl

User metadata
Rank Newbie
Rank
Newbie
AlaricD wrote on 2020-09-11, 22:13:

You might also need to set the PATH= variable to NOT use A:, in case you type a command and it's trying to find files on a diskette that's not inserted.

What is the exact error message you are getting when you try this?

no errors. Just asking A: still for command.com instead of C:

DFI K6vx+66/k6-2+ @550/768mb/GF 2 mx400
HP TC4200 +SSD
Sony Vaio PCG-SRX99+SSD
Sony Vaio PCG-505TR +SSD
Sony Vaio Picturebook C1+SSD
Compaq LTE Elite 4/75CXL +CF
Toshiba T3100e/40+CF
Tandy 1400 LT
PowerBook G4 1.33
PowerBook G3 300
iBook Clamshell 300

Reply 9 of 10, by kirikl

User metadata
Rank Newbie
Rank
Newbie

Its working! With set path! Yes. Also I'm a cheater, I copied DC (Disk controller, NC analog to C:). Speed is amazing! Boot is longer, but not dramatically, probably 5 seconds more!
Thank you!

DFI K6vx+66/k6-2+ @550/768mb/GF 2 mx400
HP TC4200 +SSD
Sony Vaio PCG-SRX99+SSD
Sony Vaio PCG-505TR +SSD
Sony Vaio Picturebook C1+SSD
Compaq LTE Elite 4/75CXL +CF
Toshiba T3100e/40+CF
Tandy 1400 LT
PowerBook G4 1.33
PowerBook G3 300
iBook Clamshell 300

Reply 10 of 10, by AlaricD

User metadata
Rank Member
Rank
Member
kirikl wrote on 2020-09-11, 22:41:

Its working! With set path! Yes.
Speed is amazing! Boot is longer, but not dramatically, probably 5 seconds more!
Thank you!

Nice! Sorry I forgot about the PATH earlier.

That five extra seconds will be worth it when everything else goes so much more smoothly. Glad to have helped!