I know it has to be something I am over looking and I need some more eyes on this because I just can’t see the problem with it.
As far as I can tell this should be working:
@echo off
reg ad “hkcu\software\microsoft\windows\currentversion\explorer\user shell folders” /v “favorites” /t reg_expand_sz /d “i:\documents\favorites” /f
echo
The forum will wrap the text but from “reg” to “/f” it’s all one line.