RE: Problem creating directories

2003-01-27 Thread Wheldon,M
Hi Glenn, Check what user the schedule service is running as, it may not have sufficient rights. Regards Martin -Original Message- From: Glenn Meyer [mailto:[EMAIL PROTECTED]] Sent: 27 January 2003 17:01 To: perl-win32-admin Subject: Problem creating directories I am tryin

replacement of executing script.

2002-05-27 Thread Wheldon,M
Hi, I have a perl script needs to replace its self when a newer version is available so I turned it into an executable, thinking that it would be run from memory rather than from the disk, however this appears not to be the case. Straight after renaming the original executable th

RE: System("ftp

2002-04-09 Thread Wheldon,M
You will find that the system call will return an integer depending on success or failure I believe. Try somthing like this if (system("ftp -n $_[0] < ftp_commands.txt") == 0) You would have to check the return values though. Hope this helps Martin Wheldon Senior Technical Consultant Leeds

RE: Newbe: Problems accessing win2kpro registry

2002-02-27 Thread Wheldon,M
essage verbatum. -Original Message- From: Raghuram P [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 9:38 AM To: 'Wheldon,M' Subject: RE: Newbe: Problems accessing win2kpro registry Does the current logged on user has administrative rights ? R u trying to access this from loca

Newbe: Problems accessing win2kpro registry

2002-02-27 Thread Wheldon,M
Hi, Being relativly new to Perl could someone please explain why the following doesn't work on a win2k pro box the problem is that the registry key is not being opened $CompName= $Registry->{"LMachine/System/CurrentControlSet/Control/ComputerName/Computer Name/"}; $Name=$CompName->GetVal