kamesh3183 has asked for the wisdom of the Perl Monks concerning the following question:
when i run this script from the command prompt it is not working..while i run this script from perlwiz IDE it is working..any clue why it is not working..and i make sure that libwin32 module is installed..iam using activestateperl distribution..please help me..use strict; use warnings; use Win32; my $V_CurrDir; unless ($V_CurrDir = ( Win32::GetFullPathName( Win32::GetLongPathName +( $0 ) ) )[0]) { die "$!"; } print "$V_CurrDir";
Janitored by Arunbear - changed title from 'problem with win32 module' and added code tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Current working directory on win32
by EverLast (Scribe) on Oct 14, 2004 at 12:49 UTC | |
|
Re: Current working directory on win32
by gellyfish (Monsignor) on Oct 14, 2004 at 12:50 UTC | |
|
Re: Current working directory on win32
by pernod (Chaplain) on Oct 14, 2004 at 12:47 UTC | |
by EverLast (Scribe) on Oct 14, 2004 at 12:54 UTC | |
by pernod (Chaplain) on Oct 14, 2004 at 13:31 UTC | |
by Limbic~Region (Chancellor) on Oct 14, 2004 at 13:58 UTC | |
by vjo (Novice) on Oct 15, 2004 at 17:08 UTC | |
|
Re: Current working directory on win32
by Grygonos (Chaplain) on Oct 14, 2004 at 15:05 UTC | |
by helgi (Hermit) on Oct 15, 2004 at 09:59 UTC | |
by gellyfish (Monsignor) on Oct 15, 2004 at 10:09 UTC | |
by Grygonos (Chaplain) on Oct 15, 2004 at 13:15 UTC | |
|
Re: Current working directory on win32
by SamCG (Hermit) on Oct 15, 2004 at 19:54 UTC |