• Please review our updated Terms and Rules here

Displaying full path name in DOS

kangy_86

New Member
Joined
May 27, 2009
Messages
3
Hi there,

When I use the NET FILE command in DOS the path name is not displayed in full.

It displays like: C:\Program Files\...\test.txt

How can I get it to display the full path name so it does not use the '...' ?

thanks
 
Short of patching the command, I don't think you can.

But this isn't a DOS NET command is it? At least if I look at DOS 7.1, it isn't there. But it is a NT/2K/XP/Vista command.
 
RE:Displaying full path name in DOS

I am not really sure. I am using it on a windows 2003 server. I have no idea in this area and was curious to know if it is possible.

I tried using things like NET FILE /N . But had no luck.

Is it possible to display the full path name??
 
I am not really sure. I am using it on a windows 2003 server. I have no idea in this area and was curious to know if it is possible.

I tried using things like NET FILE /N . But had no luck.

Is it possible to display the full path name??

It's certainly possible to write a program to display a full path name, given the ID (or all IDs). See the Win32 API function NetFileEnum.
 
Displaying full path name in DOS

Ok. Thanks for the advice.

I will have a look into it and see how I go. I am all new to this so i will need a bit of time to read up on it.

thank you.
 
Full path of file handle

Full path of file handle

You could also look into the handle.exe utility by Mark Russinovich from SysInternals

Code:
E:\Security>net file

ID         Path                                    User name            # Locks

-------------------------------------------------------------------------------
139        C:\Documents and ...\New Folder         PAUL                  0
The command completed successfully.


E:\Security>handle | find "New F"
  f94: File          C:\Documents and Settings\Paul\Desktop\New Folder

Paul
 
Back
Top