Hi ,
I have run a command which outputs the java command line.
In that one of the directory name is in short path. (example: C:\instance\domains\DAC04Q~1.COM\COMMON~1)
Is there a I can get the full path from the above short path name ?
Thanks
SS
converting short path name to long path name
Moderator: DosItHelp
-
- Posts: 240
- Joined: 04 Mar 2014 11:14
- Location: germany
Re: converting short path name to long path name
Hallo,
with Dir and ".?" at the end it prompt the full Name
Phil
with Dir and ".?" at the end it prompt the full Name
Code: Select all
Dir /s/b/x C:\instance\domains\DAC04Q~1.COM\COMMON~1.?
Phil
Re: converting short path name to long path name
Hi pieh-ejdsch,
Dir /s/b/x C:\instance\domains\DAC04Q~1.COM\COMMON~1.?
returns only the fullname of the last directory i.e. commondomain is the output I get when the above command is run.
is there a way I can get the full name of the complete path ?
Thanks
SS
Dir /s/b/x C:\instance\domains\DAC04Q~1.COM\COMMON~1.?
returns only the fullname of the last directory i.e. commondomain is the output I get when the above command is run.
is there a way I can get the full name of the complete path ?
Thanks
SS
Re: converting short path name to long path name
have you checked the link in my previous post?