#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    1
    Rep Power
    0

    Batch File - Registry Change- Help


    I was wondering if anyone could help ..

    I want to create a batch which replaces something in the registry.

    I want to amend the below registry key

    HKEY_CURRENT_USER > Software > Microsoft >Windows > CurrentVersion > Explorer > User Shell Folders > Cache

    I want the value of "Cache" to be changed to

    %USERPROFILE%\Local Settings\Temporary Internet Files


    Is this possible?

    i have done the start of the file but am unsure as to where to go from here.

    @ECHO OFF
    set /p PC=PC name or IP address which you would like to run the Work File fix on:

    pause



    Any help would be appreciated.

    Thanks
  2. #2
  3. Transforming Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    14,294
    Rep Power
    9400

IMN logo majestic logo threadwatch logo seochat tools logo