Let's say I want to create a shortcut directory called WIDGET. I want WIDGET to be all uppercase. On my 2000 machine, the following code works.
CreateDirectory $SMPROGRAMS\WIDGET
When I run the same code on a 98 or NT 4.0 box, the folder is Widget. Doh!
Forcing upper case for folder names
5 posts
Well, it's not NSIS's fault. It something to do with 98 or NT. I checked the directory in 98 and it is all uppercase. But when you look at it in the Start Menu it's Widget.
you will need to allow all uppercase folders, usually this has to be set in the explorer options on nt and win 9x
i'm sure there's a trigger in registry for this
i'm sure there's a trigger in registry for this
here you go!User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\
Advanced]
Value Name: DontPrettyPath
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = adjust caps, 1 = show caps)
Aha. Sweet. Thanks.