Re: Remote Execution, Something Simple Needed

2004-06-23 Thread Brian Gibson
A non-Perl alternative that is free, a program called psexec. http://www.sysinternals.com/ntw2k/freeware/psexec.shtml Anderson, Mark (Service Delivery) wrote: Win32::KillProcess http://www.perlmonks.org/index.pl?node_id=336024 Kind regards, Mark Anderson SMS Deployment The Royal Bank of Scotland 1

RE: weird stuff in incrementing "for" loop with Perl

2004-05-23 Thread Brian Gibson
> Sui > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Brian Gibson > Sent: Sunday, May 23, 2004 3:49 PM > To: [EMAIL PROTECTED] > Subject: weird stuff in incrementing "for" loop with Perl > > Can anyone expl

weird stuff in incrementing "for" loop with Perl

2004-05-23 Thread Brian Gibson
Can anyone explain why in this simple "for" loop it changes after it gets to 6.1? I am trying to create a pull down menu for a web page that lists processor speeds from 1.0 Ghz all the way up to 20.0 Ghz and things get crazy in between. I am incrementing my counter by .1 each time thru the loop.

Array within an array...? I'm confused

2003-12-19 Thread Brian Gibson
Hello all, I am having trouble understanding some programming logic/syntax. This program looks like it is using what someone referred to as a reference to an array (and that doesn't make a ton of sense to me, I am only familiar with arrays, scalar variables, and hashes). The blurb of code looks l

Using DBI and DBD to talk to FileMaker Db?

2003-01-29 Thread Brian Gibson
Hello everyone, I was wondering if anyone has had any luck using DBI and "some" DBD driver to talk to a FileMaker pro database. I just inherited this task. I can't find a DBD driver specifically made for FileMaker. Can this be done with DBD::ODBC? If so, does anyone have an example of a well do

Re: Install printer drivers and creating printer remotely

2002-10-25 Thread Brian Gibson
Microsoft has a resource kit tool called "con2print" (I think it is a Microsoft Tool...?) and I have used the kixstart language before to do this not sure of any perl way but I am sure people will respond with answers At 04:20 PM 10/25/2002 -0400, Ricci, Mark wrote: Hello,     Any ide

best way to list/remove network connections

2002-08-21 Thread Brian Gibson
Hello all, Does anyone know of a module you can use to list all of the current connections to remote shares (whether they be to a UNC path or to a drive letter) so they can be disconnected? I thought Win32::LanMan could do this but when I run "install Win32::Lanman" from PPM I cannot download

Re: perl to set Windows XP background image

2002-05-23 Thread Brian Gibson
', >'I', 'P', 'I'], 'I') or die "Failed to create API object\n"; >my $bitmap = "c:\\winnt\\winnt.bmp"; >unless ( $SystemParametersInfo->Call(SPI_SETDESKWALLPAPER, 0, $bitmap, >SPIF_UPDATEINIFILE) ) >{ > die

Creating a Timeline

2002-05-16 Thread Brian Gibson
I need to generate a Timeline on a web page dynamically. I have heard inklings about HTML::Timeline but what is the easiest way ( either with Perl or without ) that someone has experienced doing this? I can't seem to find much on this module. -- Thanks, Brian Gibson Systems Administ

Re: Validating an email address with the server that would receive it.

2002-04-02 Thread Brian Gibson
tell me what I want to hear. Thank you very much for the info! Thomas Bätzler wrote: >"Brian Gibson" <[EMAIL PROTECTED]> asked: > >>I am finishing up an http link checking script that checks the validity >>of every link that happens in any web page on our main

Re: Sendmail Web-Based Console.

2002-03-20 Thread Brian Gibson
Look at webmin at www.webmin.com Tim Rhodes wrote: > Hello Everyone, > I am looking for a Sendmail Web-Based Console and was wondering if someone > could pass some suggestions my way. I looked at Sendmail Switch, but it is > just to expensive. Even a perl solution I could program for > adding/ed

File sharing and NTFS permissions between win2k and Macs....

2002-03-18 Thread Brian Gibson
ility ) to move the contents of the "dropbin_mac" folder into the "dropbin" folder. I am wondering if anyone has run into this before. What I have in place is less than elegant. Again, this is slightly off of the topic but any though

Re: how do i install a win32 service via perl?

2001-09-29 Thread Brian Gibson
I think you might want to use Instrsrv.exe or sryany.exe from the Microsoft Windows NT Resource Kit. There is an article on how to do it. http://support.microsoft.com/support/kb/articles/q137/8/90.asp Hope that helps. - Original Message - From: Jeremy Aiyadurai <[EMAIL PROTECTED]> T

Re: Regex (and substitution) help

2001-06-18 Thread Brian Gibson
Here is one thing I might do. I would open another file for writing open(RESULT,">c:\\results.txt"); This file is going to be the file that gets written out with the fixed 'stuff'. and then open up the file in question that you want to rip apart and edit. open(READTHISFILE,"c:\\file_to_rea

Re: Can you determine if a user if logged on to a workstation remotely?

2001-06-06 Thread Brian Gibson
I downloaded win32-lanman using the PPM utility and the ran this script --- use Win32::Lanman; $server = "GIBSON"; Win32::Lanman::NetWkstaUserEnum($server, \@info) || die; Win32::FormatMessage(Win32::Lanman::GetLastError()); print "@info\n"; ---

Re: Can you determine if a user if logged on to a workstation remotely?

2001-06-05 Thread Brian Gibson
I found this http://www.sysinternals.com/ntw2k/freeware/psloggedon.shtml and it looks like what you might want. It is a freeware tool by sysinternals (a very reputable company) and it lets you list who is logged onto the local or remote machine. the exe psloggedon lets you point to another mach

Re: Problems with System Commands

2001-06-02 Thread Brian Gibson
and I believe you need to backtick the $ if it is a hidden share, like this system ("net use k: fileserv\\c\$") - Original Message - From: Joe Schell <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, June 02, 2001 11:54 AM Subject: RE: Problems with S

Re: can anyone recommend an easy-to-install web server for pc

2001-04-10 Thread Brian Gibson
I use xitami, it is free and available at www.imatix.com - Original Message - From: "Scott F" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "David Blaikie" <[EMAIL PROTECTED]> Sent: Tuesday, April 10, 2001 1:24 PM Subject: Re: can anyone recommend an easy-to-install web server for pc

Re: A couple questions with windows and perl

2001-04-03 Thread Brian Gibson
this is what I use for paths in perl for win32 c:\\folder\\folder\\filename.txt I backtick the "\" with another "\" Also, when you go to map a drive, I use the system function and the "net use" command (I know there is probably a module you can download in perl to do this.) Here is an exam

-M FileHandle to see how many days old a file is......is thisefficient?

2001-01-05 Thread Brian Gibson
I am setting up an FTP Server and I am working on a script that will remove all files in tmp that haven't been Modified in the past 30 days  (for house cleaning purposes)   I found this code in O'Reilly's "Learning Perl on Win32 Systems"   ---

Re: Can anyone help me??

2000-12-29 Thread Brian Gibson
PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, December 28, 2000 4:47 PM Subject: Re: Can anyone help me?? Brian Gibson wrote [in part]: > I am sure there is a module that does this but I might do it this way>> If I had a number (say 75.8) I would split it

Same problem ?? -->Release Memory used by an array????

2000-11-16 Thread Brian Gibson
I believe I am running into the same issue as the user who recently posted the question entitled "Releasing Memory used by an array". I have a stock rating program that uses FetchUrl. I first build an array of stock ticker symbols to look at (call it @symbols). There are about 12,000 stock tick