This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Short path notation?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 21, 2008
03:29 PM
Short path notation?
This might be a silly question, but is there a way to convert a long directory path to the short DOS notation without custom code?
ie:
if $USER_INSTALL_DIR$ = C:\Program Files\...
I need $USER_INSTALL_DIR$ =C:\Progra~1\...
ie:
if $USER_INSTALL_DIR$ = C:\Program Files\...
I need $USER_INSTALL_DIR$ =C:\Progra~1\...
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 21, 2008
04:05 PM
Offhand, I'm not aware of anything built in; the Win32Service interface has a getShortPath method that should do it, but that's custom coding, of course...