T
Terry Pinnell
Although probably not directly on-topic, I'm hoping the experts here
can help please. How I can automatically convert a long filename like
C:\Program Files\This example.exe to a DOS 8.3 name like
C:\Progra~1\Thisex~1.exe ?
I'm sure I've seen some clever way to do it from an XP Explorer or My
Computer folder, but I'm darned if I can find it. I recall something
like dragging the file into a Command Prompt window, but when I try
that it merely displays the original long name.
The reason I want to do this is to place 'shortcuts' in text files. My
text editor, TextPad, lets me r-click strings like the following to go
directly to the targets:
http://www.example.com to go to a website
file://D:/Docs/Example.txt to open that file on my HD
file://D:/Docs/Thisex~1.txt to open the file 'D:\Docs\This
Example.txt' on my HD
So, taking that last example, I want to be able to select the file
D:\Docs\This Example.txt in say an XP folder, and get
D:\Docs\Thisex~1.txt onto the clipboard, without having to do it
manually. Rather like the indispensable MS Powertoys TweakUI facility
'Send to > Clipboard as a name'.
can help please. How I can automatically convert a long filename like
C:\Program Files\This example.exe to a DOS 8.3 name like
C:\Progra~1\Thisex~1.exe ?
I'm sure I've seen some clever way to do it from an XP Explorer or My
Computer folder, but I'm darned if I can find it. I recall something
like dragging the file into a Command Prompt window, but when I try
that it merely displays the original long name.
The reason I want to do this is to place 'shortcuts' in text files. My
text editor, TextPad, lets me r-click strings like the following to go
directly to the targets:
http://www.example.com to go to a website
file://D:/Docs/Example.txt to open that file on my HD
file://D:/Docs/Thisex~1.txt to open the file 'D:\Docs\This
Example.txt' on my HD
So, taking that last example, I want to be able to select the file
D:\Docs\This Example.txt in say an XP folder, and get
D:\Docs\Thisex~1.txt onto the clipboard, without having to do it
manually. Rather like the indispensable MS Powertoys TweakUI facility
'Send to > Clipboard as a name'.