Calab Posted March 28, 2022 Share Posted March 28, 2022 (edited) I find myself typing LS instead of DIR a lot of the time. Is it possible to create a alias for the DIR command in SpartaDOS X 4.49? I've tried to copy the DIR.COM file from CAR: to my HDD on D8:, but I get a "too many files open" error. Edited March 28, 2022 by Calab Quote Link to comment Share on other sites More sharing options...
BillC Posted March 28, 2022 Share Posted March 28, 2022 14 minutes ago, Calab said: I find myself typing LS instead of DIR a lot of the time. Is it possible to create a alias for the DIR command in SpartaDOS X 4.49? I've tried to copy the DIR.COM file from CAR: to my HDD on D8:, but I get a "too many files open" error. The CAR: device only has 1 buffer, 2 are required for copying files. Instead of COPY you need to use TYPE with redirection, the following should work: TYPE CAR:DIR.COM >>H:DIR.COM 1 Quote Link to comment Share on other sites More sharing options...
Calab Posted March 28, 2022 Author Share Posted March 28, 2022 4 minutes ago, BillC said: The CAR: device only has 1 buffer, 2 are required for copying files. Instead of COPY you need to use TYPE with redirection, the following should work: Thanks... Got what I want with TYPE CAR:DIR.COM >> D8:LS.COM 1 Quote Link to comment Share on other sites More sharing options...
BillC Posted March 28, 2022 Share Posted March 28, 2022 (edited) 45 minutes ago, Calab said: Thanks... Got what I want with TYPE CAR:DIR.COM >> D8:LS.COM The DOSKEY.SYS extended command line utility also supports aliases, information about this starts on page 179 of the manual(page 193 of the PDF). Adding the following to the loaded CONFIG.SYS file should also work. DEVICE DOSKEY.SYS LS=DIR There is also software that allows customizing the contents of the CAR: device, SDX Imager. http://sdx.atari8.info/index.php?show=en_addons Edited March 28, 2022 by BillC 2 Quote Link to comment Share on other sites More sharing options...
Beeblebrox Posted March 28, 2022 Share Posted March 28, 2022 @Calab Just posted this reply to your other topic post signposting you to FJCs website and SIDE3 docs/manuals plus some of his videos. https://atariage.com/forums/topic/333195-mount-a-cartridge-in-side3-without-starting-it/?do=findComment&comment=5029926 Quote Link to comment Share on other sites More sharing options...
TGB1718 Posted March 28, 2022 Share Posted March 28, 2022 3 hours ago, BillC said: The DOSKEY.SYS extended command line utility also supports aliases, information about this starts on page 179 of the manual(page 193 of the PDF). Adding the following to the loaded CONFIG.SYS file should also work. DEVICE DOSKEY.SYS LS=DIR I believe there is a bug in the DOSKEY when using aliases, I've tried in the past and find sometimes the commands work and other times just cause the system to hang, I used the command in config.sys I did try to resolve it long ago in this forum, but got nowhere. DEVICE DOSKEY D9:ALIASES.INI and in the ALIASES.INI file I put the commands I wanted e.g. MOVE=COPY /M HALT=COLD /N ALIAS=TYPE D9:ALIASES.INI BASIC=D6:\BIN\UBI.EXE MAC=-D5:\BAT\MAC.BAT 1 Quote Link to comment Share on other sites More sharing options...
Brad Nelson Posted October 29, 2023 Share Posted October 29, 2023 (edited) I did try to resolve it long ago in this forum, but got nowhere. You're right, BillC. I couldn't get it to work consistently either. An alias would often work after a reboot and then not again after. It would be neat if that feature worked but it doesn't seem to. Edited October 29, 2023 by Brad Nelson Quote Link to comment Share on other sites More sharing options...
drac030 Posted October 29, 2023 Share Posted October 29, 2023 There was a bug in it, but it seems to have been fixed ~3 years ago. 1 Quote Link to comment Share on other sites More sharing options...
TGB1718 Posted October 29, 2023 Share Posted October 29, 2023 1 hour ago, drac030 said: There was a bug in it, but it seems to have been fixed ~3 years ago. It seems your correct, just re-activated ALISES and they all seem to work fine now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.