Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Win3.11 MS-DOS Editor

Posted on 1998-11-08
3
192 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
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…
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…

856 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