Solved

Win3.11 MS-DOS Editor

Posted on 1998-11-08
3
188 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
Comment Utility
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
Comment Utility
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
Comment Utility
Thank you I'll try it!
0

Featured Post

Promote certifications in your email signature

Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

Join & Write a Comment

Windows Mobile Barcode Scanning These days almost every product has a barcode in some way... amongst there are 1D barcodes en 2D barcodes.. From http://www.barcodeman.com/faq/2d.php I found some handy definitions and insights. 1D barcodes …
Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now