I have a VB script that adds a program shortcut to the Windows startup folder. In my script, I can get the location of the Startup folder on 32-bit Windows using this:
Set objShell = CreateObject("WScript.Shell") startupFolder = objShell.SpecialFolders("Startup")
but it doesnβt return anything when I try to do this on 64-bit Windows. In particular, I am testing 64-bit Vista. It seems I cannot find a suitable environment variable or syntax for this. Thanks.
source share