hello,
if i paste the following:
<code winbatch 1.cmd>
:: Customizing Start menu
powershell -Command "& {Write-Host -ForegroundColor Red "Customizing Start Menu";}"
:: get current user's SID
wmic useraccount where name='%username%' get sid | find /i "s-1" > sid.txt
SET /p NAME=<sid.txt
set name=%name: =%
SET MyPath=HKEY_USERS\%name%\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
:: Add values to registry
REG add %MyPath% /v Start_SearchFiles /t REG_DWORD /d 2 /f >NUL
REG add %MyPath% /v ServerAdminUI /t REG_DWORD /d 0 /f >NUL
REG add %MyPath% /v Hidden /t REG_DWORD /d 1 /f >NUL
REG add %MyPath% /v ShowCompColor /t REG_DWORD /d 1 /f >NUL
REG add %MyPath% /v HideFileExt /t REG_DWORD /d 0 /f >NUL
REG add %MyPath% /v DontPrettyPath /t REG_DWORD /d 0 /f >NUL
REG add %MyPath% /v ShowInfoTip /t REG_DWORD /d 1 /f >NUL
REG add %MyPath% /v HideIcons /t REG_DWORD /d 0 /f >NUL
REG add %MyPath% /v MapNetDrvBtn /t REG_DWORD /d 0 /f >NUL
REG add %MyPath% /v WebView /t REG_DWORD /d 1 /f >NUL
REG add %MyPath% /v Filter /t REG_DWORD /d 0 /f >NUL
REG add %MyPath% /v SuperHidden /t REG_DWORD /d 1 /f >NUL
REG add %MyPath% /v SeparateProcess /t REG_DWORD /d 0 /f >NUL
</code>
everything is fine. the page appears.
if i try to add
at the end, before the "</code>" another line or two it hangs.
can anyone else confirm and is there a solution?
thank you.