Permanent remove of logo in Windows Scripting Host (WSH() scripts.
- by antonio
I know two ways to remove the logo permanently. The "official" one:
cscript //Nologo //S
Will save current command line options for current user.
A ftype approach with admin privileges:
ftype wsffile="%SystemRoot%\System32\CScript.exe" //nologo "%%1" %%*
ftype jsfile="%SystemRoot%\System32\CScript.exe" //nologo "%%1" %%*
ftype vbsfile="%SystemRoot%\System32\CScript.exe" //nologo "%%1" %%*
Double-%'s are needed only if you use the lines in a batch file.
The latter will all users via affect the reg key HKEY_CLASSES_ROOT\<file>\Shell\Open\Command, where <file> can be wsffile, jsfile or vbsfile.
Do you know where are stored the cscript //Nologo //S settings?