Re: Is there a way to execute Windows/DOS command-line executable remotely from a linux box?

2004-12-09 Thread $Bill Luebkert
Jim MacDiarmid wrote: > I'm kind of stuck between a rock and a hard place. I'm working on a website > that is being hosted through a third-party hosting company and they are > using a Linux environment. The web application I'm working on requires a > DOS-command line utility to be executed every

RE: Is there a way to execute Windows/DOS command-line executableremotely from a linux box?

2004-12-09 Thread John Serink
Net::Telnet > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Jim MacDiarmid > Sent: Friday, December 10, 2004 12:17 PM > To: 'Perl-Win32' > Subject: Is there a way to execute Windows/DOS command-line > executableremotely from a linux box? > >

Re: Is there a way to execute Windows/DOS command-line executableremotely from a linux box?

2004-12-09 Thread Paul Rogers
- Original Message - From: "Jim MacDiarmid" <[EMAIL PROTECTED]> I'm kind of stuck between a rock and a hard place. I'm working on a website that is being hosted through a third-party hosting company and they are using a Linux environment. The web application I'm working on requires a DOS

Is there a way to execute Windows/DOS command-line executable remotely from a linux box?

2004-12-09 Thread Jim MacDiarmid
I'm kind of stuck between a rock and a hard place. I'm working on a website that is being hosted through a third-party hosting company and they are using a Linux environment. The web application I'm working on requires a DOS-command line utility to be executed every 60 seconds and output is captu

RE: get a list of installed programs and path to exe.

2004-12-09 Thread mailware
hi all. here is a start. I want to get values for programs installed. eg. "DisplayName","DisplayVersion" etc. thanks in advance for any help. -Jeremy A. - #!perl use Win32::TieRegistry( Delimiter=>"#", ArrayValues=>0 ); $pound= $Registry->Delimiter("/"); $appKey= $Registry->{

RE: get a list of installed programs and path to exe.

2004-12-09 Thread kbaumgartner
Slick script. Note that for the registry option to work, the system's remote registry service must be running. Otherwise, the script will return: Unable to open Uninstall key: at installed_apps.pl line 124. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: get a list of installed programs and path to exe.

2004-12-09 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > Hi there, > > in windows xp/2000 how do i get a list of all installed programs and paths to > exe? This may help - you can choose registry or WMI : #!perl -w -- use warnings; use strict; use WIn32::OLE qw(in); use Data::Dumper; $Data::Dumper::Indent=1; our %A;

RE: get a list of installed programs and path to exe.

2004-12-09 Thread John Serink
Go to the registry and peel it out of there. Win32::TieRegistry is what you're after. Have fun, John > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Friday, December 10, 2004 9:32 AM > To: Perl-Win32 > Cc: [EMAIL PROTEC

get a list of installed programs and path to exe.

2004-12-09 Thread mailware
Hi there, in windows xp/2000 how do i get a list of all installed programs and paths to exe? Thanks in advance. -Jeremy A. ___ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Re: program probe

2004-12-09 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > hello there, > > Sorry for the dumb questions. > > Is there any way to probe a program to find if and what (socket) ports it > uses, > in perl? > > It should be compatible with windows xp service pack 2 (which includes the > windows firewall). Assuming the program i

RE: program probe

2004-12-09 Thread John Serink
@bob = `netstat -a -o`; Use a regex to sift to the array bob to find the PID of interest. Cheers, John > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: Friday, December 10, 2004 8:58 AM > To: Perl-Win32 > Cc: [EMAIL PRO

program probe

2004-12-09 Thread mailware
hello there, Sorry for the dumb questions. Is there any way to probe a program to find if and what (socket) ports it uses, in perl? It should be compatible with windows xp service pack 2 (which includes the windows firewall). Thanks in advance for all help. -Jeremy A. _

RE: source port blocking......(a simplistic firewall)

2004-12-09 Thread Chris
> how do i prevent a program's source port from connecting to the internet. eg. suppose, i want to prevent Internet Explorer > from connecting to the internet,it would not be port 80, as this is the destination port...am I correct? > I suppose, this port blocking would be a simplistic firewall. ho