문제

When we run a *.vbs file, in processes, we used to get "wscript.exe". We can change this "wscript.exe" to our custom name by creating a shortcut and executing the shortcut.

Is it possible to display the current *.vbs file name in process, without using shortcuts?

도움이 되었습니까?

해결책

No. Your script is running in an interpreter, and it's the interpreter executable name that is being displayed in the process list.

While it's not impossible to change the process name, you'd need admin privileges to be able to do this, and you'd need to rewrite the interpreter (wscript.exe) to actually do it. See this answer to a similar question.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top