Jump to content

regtweaks.cmd doesnt work


Recommended Posts

hello friens :)

i have collected all my reg tweaks in a folder called "reg tweaks" one by one in order to see each one seperetaly. and i wanted to apply them by means of a cmd file called regtweaks.cmd which resides with reg tweaks in the same folder.

when executing i see that cmdlines.txt starts the regtweaks.cmd but it doesnt apply the reg tweaks. i have tried different syntax in regtweaks.cmd but they didnt work. here are my relevant files:

========cmdlines.txt==================

[COMMANDS]

"useraccounts.cmd"

".\reg tweaks\regtweaks.cmd"

".\cmds\RunOnceEx.cmd"

".\cmds\winamp.cmd"

=====================================

======regtweaks.cmd==================

echo on

title regtweaks

color 0b

REGEDIT ".\*.reg"==> it doesnt work :(

(i just wanna apply *.reg files with different names.)

====================================

pls help about how i can apply registry tweaks with different names by means of *.cmd file ???

thanks in advance :)

Link to comment
Share on other sites


regtweaks.cmd

@echo off
for %%a in (*.reg) do call :addreg "%%~a"
goto :eof
:addreg
echo/regedit /s %1
goto :eof

remove the echo/ when you have confirmed it works!

Edited by Yzöwl
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...