MSFN Forum: regtweaks.cmd doesnt work - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

regtweaks.cmd doesnt work cant apply for different named *.reg Rate Topic: -----

#1 User is offline   darksimoon 

  • Member
  • PipPip
  • Group: Members
  • Posts: 106
  • Joined: 29-May 05

Posted 31 July 2005 - 05:20 AM

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 :)


#2 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 31 July 2005 - 05:59 AM

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!

This post has been edited by Yzöwl: 31 July 2005 - 06:00 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy