I'm using a Compaq 386. Rather than typing CD DOS every time that I need to run a program (BASICA) in the DOS directly, how can I create a shortcut that loads on boot to let me type BASICA at the C:\ prompt and have it run automatically? Also, is there a shortcut I can use (for example in autoexec.bat or config.sys) to make Caps Lock automatically enable on boot?
Caps lock is a bios thing. Add to autoexec.bat the line: PATH=C:\DOS; Bill Degnan twitter: billdeg vintagecomputer.net On Jul 19, 2016 1:26 PM, "Evan Koblentz via vcf-midatlantic" < vcf-midatlantic@lists.vintagecomputerfederation.org> wrote:
I'm using a Compaq 386. Rather than typing CD DOS every time that I need to run a program (BASICA) in the DOS directly, how can I create a shortcut that loads on boot to let me type BASICA at the C:\ prompt and have it run automatically? Also, is there a shortcut I can use (for example in autoexec.bat or config.sys) to make Caps Lock automatically enable on boot?
Ah, Path! Been a long time. I used to know this stuff. I don’t see the Edit command in any of the directories though...
On 7/19/2016 1:52 PM, Evan Koblentz via vcf-midatlantic wrote:
Ah, Path! Been a long time. I used to know this stuff.
I don’t see the Edit command in any of the directories though...
may have to use edlin if you don't have edit -- Jonathan Gevaryahu jgevaryahu@gmail.com jgevaryahu@hotmail.com
If you don't have edit, and are sure of your typing you can just use a file redirect with echo, for example: echo Why hello my name is Jason >> jason.txt will create the file jason.txt if it doesn't exist, and add that line to the end. A single > overwrites the file, a double >> appends to the end. Note that you can use the file redirector with the output of any text program. -J On Tue, Jul 19, 2016 at 1:56 PM, Evan Koblentz via vcf-midatlantic <vcf-midatlantic@lists.vintagecomputerfederation.org> wrote:
may have to use edlin if you don't have edit
No clue how to use that.
-- Jason Perkins 313 355 0085
Googled for how to use Edlin. Found some decent instructions, so I booted, typed edlin autoexec.bat, and started to.... wait a second! I forget to change to the DOS directory where edlin resides. Epiphany: the path command must already be in the file. I hadn't bothered to try typing BASICA from root. :) Works fine!
On 07/19/2016 01:52 PM, Evan Koblentz via vcf-midatlantic wrote:
Ah, Path! Been a long time. I used to know this stuff.
I don’t see the Edit command in any of the directories though...
ed edlin or copy con: filename.ext typing goes here ^Z Where ^Z is the Ctrl and the Z key PS: Gawd, I hated edlin -- Linux Home Automation Neil Cherry ncherry@linuxha.com http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies
do you have a PATH statement in your autoexec.bat that tells DOS that your have programs in c:/dos ? (I cannot make myself type a back slash; it's just wrong.) And why would you want caps lock on? Bill Dudley This email is free of malware because I run Linux. On Tue, Jul 19, 2016 at 1:25 PM, Evan Koblentz via vcf-midatlantic < vcf-midatlantic@lists.vintagecomputerfederation.org> wrote:
I'm using a Compaq 386. Rather than typing CD DOS every time that I need to run a program (BASICA) in the DOS directly, how can I create a shortcut that loads on boot to let me type BASICA at the C:\ prompt and have it run automatically? Also, is there a shortcut I can use (for example in autoexec.bat or config.sys) to make Caps Lock automatically enable on boot?
Evan Koblentz wrote:
I'm using a Compaq 386. Rather than typing CD DOS every time that I need to run a program (BASICA) in the DOS directly, how can I create a shortcut that loads on boot to let me type BASICA at the C:\ prompt and have it run automatically? Also, is there a shortcut I can use (for example in autoexec.bat or config.sys) to make Caps Lock automatically enable on boot?
My old brain cells tell me that the PATH environment variable should do what you want. PATH=C:\DOS
participants (8)
-
Bill Sudbrink -
Evan Koblentz -
Jason Perkins -
Jonathan Gevaryahu -
Neil Cherry -
Systems Glitch -
william degnan -
William Dudley