Find File from a File-Link

2005-07-21 Thread armin . nolte
Hi, does someone know if it is possible to read a link-to-a-file (Verknüpfung in german) and find out where the real file is located to open it? cheers Armin Armin Nolte Database-Marketing Deutsche Behindertenhilfe - Aktion Mensch e.V. Heinemannstr. 36 53175 Bonn Tel.: 0228-2092-233 Fax:

Re: CGI Error message

2005-07-21 Thread $Bill Luebkert
Goh Chin Tiong wrote: Kindly advise on how we can disable the following error from appearing on the browser when a non-existent cgi script is being called. Thanks CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return

Re: Find File from a File-Link

2005-07-21 Thread Sisyphus
- Original Message - From: [EMAIL PROTECTED] To: perl-win32-users@listserv.ActiveState.com Sent: Thursday, July 21, 2005 4:23 PM Subject: Find File from a File-Link Hi, does someone know if it is possible to read a link-to-a-file (Verknüpfung in german) and find out where the real

Re: Find File from a File-Link

2005-07-21 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: Hi, does someone know if it is possible to read a link-to-a-file (Verknüpfung in german) and find out where the real file is located to open it? use strict; use warnings; use Win32::Shortcut; my $sc = shift || 'test.lnk'; my $SC = new Win32::Shortcut ($sc) or die

Re: Find File from a File-Link

2005-07-21 Thread $Bill Luebkert
Sisyphus wrote: There doesn't seem to be any POD documentation for this module - but you should have html documentation for it if it's installed. (It's part of libwin.) Not that I could find. -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )// //

Re: Find File from a File-Link

2005-07-21 Thread armin . nolte
ok, now I got it. I have to add the ending '.lnk' to a link-Name (though you don't see this in Explorer) and then it will be found. I got it while performing a while ( * ) { print $_, \n;} then you can see the file-names for perl (!Strange). So thanks for helping. Armn

regarding Win32::Service.

2005-07-21 Thread Gogulamudi, Basa Mallika
Title: regarding Win32::Service. Hi, In our office we run some services on workstations with domain administrator user account. whenever we change administrator password we need to change password on all workstations also. Is there anyway to automate this process using Win32::Service

Re: Find File from a File-Link

2005-07-21 Thread Sisyphus
- Original Message - From: $Bill Luebkert [EMAIL PROTECTED] To: perl-win32-users@listserv.ActiveState.com Sent: Thursday, July 21, 2005 6:35 PM Subject: Re: Find File from a File-Link Sisyphus wrote: There doesn't seem to be any POD documentation for this module - but you should

Re: Find File from a File-Link

2005-07-21 Thread Sisyphus
- Original Message - From: Sisyphus [EMAIL PROTECTED] With my ActiveState perl build 810, the \Perl\html\index.html file does have a link to Win32::Shortcut html documentation No it doesn't . dreaming again . Cheers, Rob ___

Re[2]: Find File from a File-Link

2005-07-21 Thread Ñåðãåé ×åðíèåíêî
Çäðàâñòâóéòå Sisyphus, Thursday, July 21, 2005, 1:30:27 PM, Âû íàïèñàëè: S - Original Message - S From: Sisyphus [EMAIL PROTECTED] With my ActiveState perl build 810, the \Perl\html\index.html file does S have a link to Win32::Shortcut html documentation S No it doesn't .

RE: regarding Win32::Service.

2005-07-21 Thread Paul Sobey
In our office we run some services on workstations with domain administrator user account. whenever we change administrator password we need to change password on all workstations also. Is there anyway to automate this process using Win32::Service module ? The Win32_Service class

Creating a Windows service

2005-07-21 Thread Octavian Rasnita
Hi, I would like to create a Windows service in Perl. Is it possible, or I am able just to run/stop/pause services created in other languages? If yes, please give me some hints and tell me what modules to use. Thank you. Teddy ___ Perl-Win32-Users

CGI frames question

2005-07-21 Thread Terry Vaughn
Howdy all, I have been staring at the same piece of code for hours on end trying to perform the following: I am creating 3 frames in a CGI program: top, left, and right. The form(and fields within the form) are created and posted out of the top frame. The -target of the top frame is the left

Re: Creating a Windows service

2005-07-21 Thread Angus McIntyre
At 15:01 +0300 21.07.2005, Octavian Rasnita wrote: I would like to create a Windows service in Perl. Is it possible, or I am able just to run/stop/pause services created in other languages? If yes, please give me some hints and tell me what modules to use. You can run Perl programs as services

RE: Creating a Windows service

2005-07-21 Thread Aaron.Tesch
Dave Roth has written a package to that will allow PERL to run as a service. http://www.roth.net/perl/Daemon/ Here is the link to a description/doco. You can also download the package from his web site to install on your PC. Aaron Tesch -Original Message- From: [EMAIL PROTECTED]

RE: Creating a Windows service

2005-07-21 Thread Paul Sobey
I would like to create a Windows service in Perl. Is it possible, or I am able just to run/stop/pause services created in other languages? If yes, please give me some hints and tell me what modules to use. Use Roth's Win32::Daemon module - http://www.roth.net/perl/daemon/. I've used this to

Adding/Deleting users in AD from a linux apache front end

2005-07-21 Thread Richard DeWath
Has anyone set up a front end using Apache on linux to manage users on both Windows and Linux systems? I can deal with the linux updates, but I am looking at accessing Windows AD/LDAP to add or delete users. The idea is to have a common interface so that the same user set up information can be

Re: Creating a Windows service

2005-07-21 Thread Octavian Rasnita
Thank you. I think it might be that Win32::Daemon::Simple, but it needs Win32::Daemon, and it tells that it cannot find that module (Win32::Daemon). I have tried to install it with ppm. Thank you. Teddy - Original Message - From: Aaron.Tesch [EMAIL PROTECTED] To: Octavian Rasnita

RE: CGI frames question

2005-07-21 Thread Chris
I am creating 3 frames in a CGI program: top, left, and right. The form(and fields within the form) are created and posted out of the top frame. The -target of the top frame is the left frame. However, I would also like to post data to right frame concurrently with posting to the left frame.

Re: help with getting file stats

2005-07-21 Thread lorid
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of lorid Sent: Wednesday, July 20, 2005 3:34 PM To: perl-win32-users Subject: help with getting file stats snip of loris code: ( $dev, $ino, $mode, $nlink, $uid, $gid, $rdev, $size, $atime, $mtime, $ctime,

Problem with attaching valid .xls files to emails...

2005-07-21 Thread Scott Overstreet
I am having a problem with properly attaching a file to an email in a Perl script.The file that I am attaching to each email is a simple tab delimited text file.The problem is that the text file looks horrible because the columns don't line up evenly.Because this is a mass mailer script that sends

help with defined and !not defined

2005-07-21 Thread lorid
Im want to set the $photo_year and $photo_month to another value if it is not already set. my $ARGV[0] will sometimes be passed a string like this:nvIGRA with no date at end and sometimes with date nvIGRA200511 if it does not have date I need to set it another way but cant get syntax of

Re: help with defined and !not defined

2005-07-21 Thread Chris Wagner
You want to check if it's null, not if it's defined. Defined means that the variable exists. You want something like if ($photo_year) {...}. At 01:48 PM 7/21/05 -0700, lorid wrote: my $ARGV[0] will sometimes be passed a string like this:nvIGRA with no date at end and sometimes with date

RE: help with defined and !not defined

2005-07-21 Thread Peter Guzis
if ($photo_year) simply tests for a true value and will behave incorrectly if $photo_year is 0. What you really mean is if (!length $photo_year). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Wagner Sent: Thursday, July 21, 2005 3:03 PM To:

Re: help with getting file stats

2005-07-21 Thread Eric Amick
On Thu, 21 Jul 2005 12:05:08 -0700, you wrote: loris reply: yes I did try stat ($dir/$file) it would not work , and I tried many variation here is what I finally got to work: print Opening $dir \n; opendir DH, $dir or die Can't open the current dir $!\n; while(my $file = readdir(DH)){

Re: CGI frames question

2005-07-21 Thread Leigh Sharpe
Just a thought: can you use a piece of javascript in the top form to populate data in the right frame, and use onSubmit() (or onClick() on the 'submit') to issue a form.submit() on the right frame? I'd have to test this out to be sure it work. - Original Message - From: Terry Vaughn

Re: Problem with attaching valid .xls files to emails...

2005-07-21 Thread $Bill Luebkert
Scott Overstreet wrote: I am having a problem with properly attaching a file to an email in a Perl script. The file that I am attaching to each email is a simple tab delimited text file. The problem is that the text file looks horrible because the columns don't line up evenly. Because this