How to detect letter of HD where $PROGRAMFILES is?
in my PC i have $PROGRAMFILES in "D:\Program Files". I need to put the letter of default Hard Drive(where $PROGRAMFILES is) to the variable..any idea? tnx
5 posts
StrCpy $0 $PROGRAMFILES "" 1 Will return the drive letter used by $PROGRAMFILES in $0.StrCpy $0 $PROGRAMFILES 1 0