Hey folks,
I've created an install script for a program and it works well. I've decided to add a change a registry key as to where the default save location is for this program.
I would like the file to be saved to 'My Documents' (the default location is in my documents but buried two folders deep)
My registry change doesn't seem to work:
RegWrite("HKEY_Local_Machine\SOFTWARE\My Software\etc\etc\User", "MyDocumentsLocation", "REG_EXPAND_SZ", "%USERPROFILE%\My Documents")
Now this works to save the files in My Documents, but they are now in a folder with My Documents in a folder named as the user.
How can I have them save to JUST My Documents?
Thanks for your help!