Batch File Basics - TechRepublic
Question
April 15, 2010 at 12:19 PM
zerk112

Batch File Basics

by zerk112 . Updated 16 years, 2 months ago

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.

This discussion is locked

All Comments