mercredi 25 février 2015

REG ADD syntax returns error

I am having trouble with the syntax for REG ADD. This is for a bat file in Windows 7. I am trying to update the registry in order to move the Startup folder to an H drive. Here is what I have.



REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Startup /t REG_SZ d/ "H:\\RoamingFiles\\Startup"


Any suggestions?


Aucun commentaire:

Enregistrer un commentaire