Image Name

Hi,

From NT task manager, we can see all the running
processes in the system. The ImageName column shows
the correct name of a process most of the time. But
sometimes you can see some shorten name, like
P1234567890123.exe can be shown as P1234567890123.e
Or sometime it can be show as P123~1.exe.

  1. Does anybody know the rule for displaying the image
    name ?
  2. If I have to match the process by image name, or I
    only know the path of an executable, I want to check
    whether it is running or not before I do anything to
    it. What can I do about it ?

Your help is greatly appreciated.

G.C.


Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Process name is the first 15 characters of last file name component.
It is set by PspCreateProcess (called by NtCreateProcess
or PsCreateSystemProcess).

Paul

-----P?vodn? zpr?va-----
Od: G.C. [SMTP:xxxxx@yahoo.com]
Odesl?no: 23. kv?tna 2000 23:49
Komu: NT Developers Interest List
P?edm?t: [ntdev] Image Name

Hi,

From NT task manager, we can see all the running
processes in the system. The ImageName column shows
the correct name of a process most of the time. But
sometimes you can see some shorten name, like
P1234567890123.exe can be shown as P1234567890123.e
Or sometime it can be show as P123~1.exe.

  1. Does anybody know the rule for displaying the image
    name ?
  2. If I have to match the process by image name, or I
    only know the path of an executable, I want to check
    whether it is running or not before I do anything to
    it. What can I do about it ?

Your help is greatly appreciated.

G.C.


Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/


You are currently subscribed to ntdev as: xxxxx@sodatsw.cz
To unsubscribe send a blank email to $subst(‘Email.Unsub’)