MS-DOS command to show logged drive and directory? (Users)
> I'm not sure exactly what you mean by "logging",
Hi bretjohn,
Here's a link to an explanation of what I had in mind:
Logging on to a drive
Maybe they don't use that term anymore these days. That's what we had to do each time we put a disk in our CP/M computers.
> but isn't that what a
> "PROMPT $P$G" does?
I tried that in a short batch file called WHEREAMI.BAT
@echo off
echo Where am I?
PROMPT $P$G
echo Did it work?
What I had hoped to see on the screen was:
Where am I?
C:\BAT
Did it work?
But instead it just showed:
Where am I?
Did it work?
---
Will in Seattle
a.k.a. "Clueless"
Running MS-DOS 6.21
Complete thread:
- MS-DOS command to show logged drive and directory? - CluelessInSeattl, 08.03.2013, 16:45 (Users)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- MS-DOS command to show logged drive and directory? - bretjohn, 08.03.2013, 16:50
- MS-DOS command to show logged drive and directory? - CluelessInSeattl, 08.03.2013, 19:58
- MS-DOS command to show logged drive and directory? - rr, 08.03.2013, 20:32
- MS-DOS command to show logged drive and directory? - CluelessInSeattl, 08.03.2013, 22:51
- How to have MS-DOS "remember" logged drive and directory? - CluelessInSeattl, 10.03.2013, 20:02
- PUSHD and POPD in MS-DOS 6.21? - CluelessInSeattl, 11.03.2013, 00:31
- PUSHD and POPD in MS-DOS 6.21? - glennmcc, 11.03.2013, 00:54
- PUSHD and POPD in MS-DOS 6.21? - CluelessInSeattl, 11.03.2013, 02:06
- PUSHD and POPD in MS-DOS 6.21? - glennmcc, 11.03.2013, 03:39
- PUSHD and POPD in MS-DOS 6.21? - marcov, 11.03.2013, 20:28
- PUSHD and POPD in MS-DOS 6.21? - CluelessInSeattl, 11.03.2013, 02:06
- PUSHD and POPD in MS-DOS 6.21? - rr, 11.03.2013, 21:01
- PUSHD and POPD in MS-DOS 6.21? - CluelessInSeattl, 11.03.2013, 23:34
- PUSHD and POPD in MS-DOS 6.21? - CluelessInSeattl, 12.03.2013, 00:24
- PUSHD and POPD in MS-DOS 6.21? - glennmcc, 12.03.2013, 02:07
- PUSHD and POPD in MS-DOS 6.21? - CluelessInSeattl, 12.03.2013, 00:24
- PUSHD and POPD in MS-DOS 6.21? - CluelessInSeattl, 11.03.2013, 23:34
- PUSHD and POPD in MS-DOS 6.21? - glennmcc, 11.03.2013, 00:54
- How to have MS-DOS "remember" logged drive and directory? - ron, 11.03.2013, 05:22
- How to have MS-DOS "remember" logged drive and directory? - georgpotthast, 11.03.2013, 08:00
- How to have MS-DOS "remember" logged drive and directory? - CluelessInSeattl, 11.03.2013, 15:39
- How to have MS-DOS "remember" logged drive and directory? - bretjohn, 12.03.2013, 00:39
- How to have MS-DOS "remember" logged drive and directory? - CluelessInSeattl, 12.03.2013, 00:59
- How to have MS-DOS "remember" logged drive and directory? - nidud, 12.03.2013, 12:45
- How to have MS-DOS "remember" logged drive and directory? - ron, 12.03.2013, 13:02
- How to have MS-DOS "remember" logged drive and directory? - CluelessInSeattl, 12.03.2013, 18:42
- How to have MS-DOS "remember" logged drive and directory? - RayeR, 13.03.2013, 01:26
- How to have MS-DOS "remember" logged drive and directory? - bretjohn, 13.03.2013, 04:12
- How to have MS-DOS "remember" logged drive and directory? - RayeR, 13.03.2013, 01:26
- How to have MS-DOS "remember" logged drive and directory? - CluelessInSeattl, 12.03.2013, 18:42
- How to have MS-DOS "remember" logged drive and directory? - bretjohn, 12.03.2013, 17:03
- How to have MS-DOS "remember" logged drive and directory? - CluelessInSeattl, 12.03.2013, 00:59
- How to have MS-DOS "remember" logged drive and directory? - j_hoff, 13.03.2013, 21:44
- How to have MS-DOS "remember" logged drive and directory? - bretjohn, 12.03.2013, 00:39
- How to have MS-DOS "remember" logged drive and directory? - CluelessInSeattl, 11.03.2013, 15:39
- How to have MS-DOS "remember" logged drive and directory? - georgpotthast, 11.03.2013, 08:00
- PUSHD and POPD in MS-DOS 6.21? - CluelessInSeattl, 11.03.2013, 00:31
- How to have MS-DOS "remember" logged drive and directory? - CluelessInSeattl, 10.03.2013, 20:02
- MS-DOS command to show logged drive and directory? - CluelessInSeattl, 08.03.2013, 22:51
- MS-DOS command to show logged drive and directory? - bretjohn, 08.03.2013, 16:50
Mix view