Solved

Win3.11 MS-DOS Editor

Posted on 1998-11-08
3
191 Views
Last Modified: 2013-12-29
Using DOS 6.22 and Win 3.11.  I double-click on the MS-DOS Prompt Icon and when the screen comes up it gives me this for the prompt. ( c> )  I know that if I type prompt $p$g that it will give me this ( c:\> )  But I'd like to know how I can set it up to do it automatically?
0
Comment
Question by:r1tech
3 Comments
 
LVL 2

Accepted Solution

by:
msledd earned 50 total points
ID: 1804895
Hi!

That's odd, it should default to C:\Windows or C:\
I'd check the command line for the MS-DOS prompt icon in Program Manager
select the icon and click alt+enter or select Properties from the File menu and then note where the .PIF file is located (which is what actually runs when the icon is double clicked)
It *should* be in C:\Windows and the command should be simply the path to the file ie:C:\Windows\MSDOS.PIF (I forget what the actual name is) -or- simply MSDOS.PIF since Windows is in your path a directory is not necessary in the cmd. line.

if this action proves fruitless, there is a utility that comes with Win 3.x called PIF Editor (pifedit.exe, I believe and you'll find it either in Windows or Windows\System) you can use it to add the prompt $p$g line to the command line of the PIF so that it is done for you.

Hope this helps!
Msledd
0
 
LVL 1

Expert Comment

by:TAUA
ID: 1804896
This is very simple to solve. Open Autoexec.bat in an editor like notepad or syedit. Change or add the following:
Prompt $p$g
save and exit. Reboot. Now everytime you exit Windows either through shut down or DOS prompt your promt will be:C:\> (i.e.
c:\current directory>) That is all there is to it. If you load ANSI.SYS in your config file you can even make it a diffrent color! DOS 6.22 has extensive help, at the DOS prompt type HELP PROMPT.
Hope that helps you.
TAUA
0
 

Author Comment

by:r1tech
ID: 1804897
Thank you I'll try it!
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question