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@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to