0

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?

Gokul Nath KP
  • 15,485
  • 24
  • 88
  • 126

1 Answers1

2

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.

Community
  • 1
  • 1
Ansgar Wiechers
  • 193,178
  • 25
  • 254
  • 328