VOGONS


First post, by kirikl

User metadata
Rank Member
Rank
Member

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 😒

GA-5AX/k6-3+ 600mhz
XT Turbo 10mhz
HP TC4200 / NC6400
Sony Vaio PCG-SRX99 / PCG-505TR / C1 Picturebook
Compaq LTE Elite 4/75CXL / LTE 5000
Toshiba T1100+ / T3100e/40 / T3200SXC
Tandy 1400 LT / 1000HX
PB G4 1.33 / G3 300
iBook Cl 300

Reply 1 of 10, by AlaricD

User metadata
Rank Oldbie
Rank
Oldbie

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 Member
Rank
Member

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

GA-5AX/k6-3+ 600mhz
XT Turbo 10mhz
HP TC4200 / NC6400
Sony Vaio PCG-SRX99 / PCG-505TR / C1 Picturebook
Compaq LTE Elite 4/75CXL / LTE 5000
Toshiba T1100+ / T3100e/40 / T3200SXC
Tandy 1400 LT / 1000HX
PB G4 1.33 / G3 300
iBook Cl 300

Reply 3 of 10, by AlaricD

User metadata
Rank Oldbie
Rank
Oldbie
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 Member
Rank
Member
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)

GA-5AX/k6-3+ 600mhz
XT Turbo 10mhz
HP TC4200 / NC6400
Sony Vaio PCG-SRX99 / PCG-505TR / C1 Picturebook
Compaq LTE Elite 4/75CXL / LTE 5000
Toshiba T1100+ / T3100e/40 / T3200SXC
Tandy 1400 LT / 1000HX
PB G4 1.33 / G3 300
iBook Cl 300

Reply 5 of 10, by AlaricD

User metadata
Rank Oldbie
Rank
Oldbie

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 Member
Rank
Member

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

GA-5AX/k6-3+ 600mhz
XT Turbo 10mhz
HP TC4200 / NC6400
Sony Vaio PCG-SRX99 / PCG-505TR / C1 Picturebook
Compaq LTE Elite 4/75CXL / LTE 5000
Toshiba T1100+ / T3100e/40 / T3200SXC
Tandy 1400 LT / 1000HX
PB G4 1.33 / G3 300
iBook Cl 300

Reply 7 of 10, by AlaricD

User metadata
Rank Oldbie
Rank
Oldbie

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 Member
Rank
Member
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:

GA-5AX/k6-3+ 600mhz
XT Turbo 10mhz
HP TC4200 / NC6400
Sony Vaio PCG-SRX99 / PCG-505TR / C1 Picturebook
Compaq LTE Elite 4/75CXL / LTE 5000
Toshiba T1100+ / T3100e/40 / T3200SXC
Tandy 1400 LT / 1000HX
PB G4 1.33 / G3 300
iBook Cl 300

Reply 9 of 10, by kirikl

User metadata
Rank Member
Rank
Member

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!

GA-5AX/k6-3+ 600mhz
XT Turbo 10mhz
HP TC4200 / NC6400
Sony Vaio PCG-SRX99 / PCG-505TR / C1 Picturebook
Compaq LTE Elite 4/75CXL / LTE 5000
Toshiba T1100+ / T3100e/40 / T3200SXC
Tandy 1400 LT / 1000HX
PB G4 1.33 / G3 300
iBook Cl 300

Reply 10 of 10, by AlaricD

User metadata
Rank Oldbie
Rank
Oldbie
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!