🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #6292

Re: Undocumented commands for MSDOS

#6292
From: Leonard Erickson
Date: Mon, 16 Nov 1992 08:22
25 lines
1480 bytes
bailey_j@kosmos.wcc.govt.nz writes:

>I have found two undocumented commands for MS-DOS: "truename" which seems
>to give the same output as "cd" on its own, and a /f switch for command.com
>which seems to do something unspecified. Can anyone tell me what these two 
>do ?

Truename gives the "fully qualified filespec" for the filespec that follows.
So from my D:\TMP directory "truename ..\screen.cut" gives D:\SCREEN.CUT.
And on a network or CD-ROM drive, you get stuff like \\name\volume\path.

For instance on a Novell LAN I used to use "truename Y:dsz.com" would
have given \\WSC_PDX1\USER1\PUBLIC\BIN\DSZ.COM which translates as
Server: WSC_PDX1
Volume: User1
Path: \PUBLIC\BIN\
File: DSZ.COM

Try it on something that's been re-assigned via SUBST or ASSIGN or JOIN.
It'll report the *real* path. 
-- 
Leonard Erickson		      leonard@qiclab.scn.rain.com
CIS: [70465,203]			 70465.203@compuserve.com
FIDO:   1:105/51	 Leonard.Erickson@f51.n105.z1.fidonet.org
(The CIS & Fido addresses are preferred)
Technical Details
Message-ID: <1992Nov16.082224.3643@qiclab.scn.rain.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!psgrain!qiclab!leonard
References: <1duhj3INNa9c@golem.wcc.govt.nz>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!psgrain!qiclab!leonard
From: leonard@qiclab.scn.rain.com (Leonard Erickson)
Subject: Re: Undocumented commands for MSDOS
Message-ID: <1992Nov16.082224.3643@qiclab.scn.rain.com>
Reply-To: Leonard.Erickson@f51.n105.z1.fidonet.org
Organization: SCN Research/Qic Laboratories of Tigard, Oregon.
References: <1duhj3INNa9c@golem.wcc.govt.nz>
Date: Mon, 16 Nov 1992 08:22:24 GMT
Lines: 25