cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Fadi_R
Level 2

Truncated File Path

I am using Install Shield 2012 Limited edition for visual studio 2012. My application allows user to right click on a file and click a menu item to pass the path to it.
Install Shield is sending the path string truncated to my application as c:\Users\Admin\Desktop\MyFile~1.txt instead of c:\Users\Admin\Desktop\MyFileName.txt
How this can be fixed?

Thank you for your help.

Fadi
0 Kudos
(2) Replies
chiranjeevi
Level 7 Flexeran
Level 7 Flexeran

Hello,

Please follow the below steps to disable the 8.3 name creation on all NTFS partitions:

1. Start Regedt32.exe and locate the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem

2. Select the NtfsDisable8dot3NameCreation entry.

NOTE: By default, the value for this entry is set to 0.

3. On the Edit menu, click DWORD. Type a value of 1 in the Data field.

4. Click OK and then quit Regedt32.

5. Quit Windows NT and turn off your computer.

6. Restart your computer

NOTE: The change to the NtfsDisable8dot3NameCreation registry entry affects only files, folders, and profiles that are created after the change. Files that already exist are not affected.

However, you may try changing the above mentioned registry key with the help of installshield to achieve the required behavior.

Thanks,
Chiranjeevi
0 Kudos
Fadi_R
Level 2

chiranjeevi wrote:
Hello,

Please follow the below steps to disable the 8.3 name creation on all NTFS partitions:

1. Start Regedt32.exe and locate the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem

2. Select the NtfsDisable8dot3NameCreation entry.

NOTE: By default, the value for this entry is set to 0.

3. On the Edit menu, click DWORD. Type a value of 1 in the Data field.

4. Click OK and then quit Regedt32.

5. Quit Windows NT and turn off your computer.

6. Restart your computer

NOTE: The change to the NtfsDisable8dot3NameCreation registry entry affects only files, folders, and profiles that are created after the change. Files that already exist are not affected.

However, you may try changing the above mentioned registry key with the help of installshield to achieve the required behavior.

Thanks,
Chiranjeevi


Thank you Chiranjeevi, that fixed my issue.
0 Kudos