home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!yale.edu!jvnc.net!netnews.upenn.edu!netnews.cc.lehigh.edu!ns1.cc.lehigh.edu!sh09
- From: sh09@ns1.cc.lehigh.edu (STEVEN HIGGINS)
- Newsgroups: comp.os.ms-windows.setup
- Subject: Re: DOS window has No Path, etc.
- Message-ID: <1992Dec19.025140.124155@ns1.cc.lehigh.edu>
- Date: 19 Dec 92 02:51:40 GMT
- Organization: Lehigh University
- Lines: 38
-
- In article <1992Dec15.130813.12311@tijc02.uucp>, kjf388@tijc02.uucp (Ken Fisher
- ) writes:
- >Three people in my group have installed windows on Compaq 386 and 486
- >systems, and all lose their environment when the MS-DOS prompt is
- >selected. That is, their path is "No Path", the command line prompt is
- >is simple "C>" not including the current directory as set up in their
- >autoexec.bat file, etc.
- >
- >I have no problems like this on my AST 386, and I've never seen on on
- >other systems I've worked with.
- >
- >Is this a common problem with a known fix?
- >
- >At first I thought it was because windows was called from a .bat file
- >that in turn was called originally from autoexec.bat when the system was
- >rebooted. But calling windows directly from the autoexe.bat file did
- >not fix the problem.
- >
- >-------------------------------------------------------------------------
- >Ken Fisher | kjf388%tijc02@uunet.uu.net
- >Siemens Industrial Automation, Inc. | UUCP: uunet!tijc02!kjf388
- >Johnson City, Tn. 37605 | Phone: 615-461-2125
- >-------------------------------------------------------------------------
- >
- Ken,
-
- In AUTOEXEC, set the environment variable WINPMT=[WIN] $p$g
- That will give the current path as a prompt, and the [WIN] is
- presented so you don't forget you're in a shell.
-
- I'm at my office, but I'm pretty sure it's WINPMT. It's close, anyway
- :-) Check the manual when in doubt, I guess.
-
- Regards,
- --
-
- ~Steve
- sh09@lehigh.edu
-