Re: Process information
by Bill Luebkert other posts by this author
Apr 28 2008 1:59AM messages near this date
view in the new Beta List Site
Process information
|
RE: Process information
Cruickshanks, Darin wrote:
> Hi,
>
>
>
> Iâ??m trying to find out what a particular processâ??s start path is â??
> â??c:\myprocess.exeâ?? for example. I tried using Win32::Process::Info,
> which works fine unless you are trying to find out the process
> information of a process that is running in a different user context.
>
> For example â??
>
> I run my Perl script as administrator on a PC, someone then logs on as a
> different user and runs MSWORD. My program would not be able to return
> the start path for MSWORD (c:\program files\msoffice��), but strangely
> most of the other info that Win32::Process::Info returns will be
> available. Does anyone know why this is or know of any other module to
> get at the process start path?
You could try WMI (not sure if it will improve results) - sample test
script sent off list.
_______________________________________________
Perl-Win32-Admin mailing list
Perl-Win32-Admin@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Darin Cruickshanks
Bill Luebkert
Darin Cruickshanks
|