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
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?
>
>
- 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
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
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->{
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
[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;
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
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
[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
@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
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.
_
> 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
13 matches
Mail list logo