Passing username and password to a Windows .exe

2005-04-21 Thread Steve . E . Pittman




I have a Windows application that needs to run 365/24/7..
the application requires a username and password..
is it possible to pass the username and pass to the application?
if possible, I would like to launch the .exe from a perl script and monitor
the PID.

Any help is appreciated...

Steve


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response




Edit a file inplace..

2004-07-22 Thread Steve . E . Pittman




Hi,

I am trying to edit an ASCII file in place

I tried 

  perl -pi -ne s/ERROR/TRACKED/g status.log

and received

  Can't do inplace edit without backup

Any help is appreciated

Thanks,

Steve

Monitoring application runtime

2003-10-09 Thread Steve . E . Pittman




I am using Win32::Spawn($application, $cmdLine, $processID) to launch a
non-windows app..is there a method to determine when the application has
ended?

I obviously have the PID but I have not found a WIN32 function to monitor
the process.

Regards,

Steve


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Use strict (beginner question)

2003-04-04 Thread Steve . E . Pittman

All,

I added the use strict; statement to my script for the first time and
received the following compilation errors:
Global symbol $LoginName requires explicit package name at todaysFiles.pl
line 43.
Global symbol $TMPNow requires explicit package name at todaysFiles.pl
line 45.
Global symbol @filenames requires explicit package name at todaysFiles.pl
line 48.
Global symbol $filenames requires explicit package name at todaysFiles.pl
line 49.

This program works fine without the use strict statement?.please advise!!

Also, can someone offer an explanation of how = differs from = =??

Thanks In advance!


Steve Pittman
Medstar Health


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]