Permanent remove of logo in Windows Scripting Host (WSH() scripts.
Posted
by
antonio
on Stack Overflow
See other posts from Stack Overflow
or by antonio
Published on 2013-06-30T10:19:03Z
Indexed on
2013/06/30
10:20 UTC
Read the original article
Hit count: 320
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?
© Stack Overflow or respective owner