0
I am trying to use a if command to change language. But all I am getting is "Syntax error"
I really can not find the real syntax.
CMD file
@echo off
echo "1 =Brazilian Portugese"
echo:
set /p %language%="What language would you like? "
if "%language%"==1(REGEDIT.EXE -s Change Language to Brazilian Portuguese.reg
echo "Language set to Brazilian Portugese"
goto :PAUSE
)
:PAUSE
echo "pausing script"
@pause
Change language to Brazilian Portugese.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\Software\Wow6432Node\Maxis\The Sims 4] "Locale"="pt_BR"
Thanks! that fixes all issues with REGEDIT. But I think I have a problem with my if statements too. – 0x3D – 2014-09-05T18:30:09.410
i'lll add in the answer – Remus Rigo – 2014-09-05T18:39:27.700