Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > How to detect active folder in Windows XP?

Reply
Thread Tools

How to detect active folder in Windows XP?

 
 
max
Guest
Posts: n/a
 
      01-30-2007
How to detect active folder in Windows XP?
Eg. d:\folder\temp

Thanks



 
Reply With Quote
 
 
 
 
Dr.Ruud
Guest
Posts: n/a
 
      01-30-2007
max schreef:

> How to detect active folder in Windows XP?
> Eg. d:\folder\temp


http://search.cpan.org/~kwilliams/PathTools/Cwd.pm

--
Affijn, Ruud

"Gewoon is een tijger."
 
Reply With Quote
 
 
 
 
Peter Wyzl
Guest
Posts: n/a
 
      01-30-2007
"max" <> wrote in message news:epn3h8$qat$...
> How to detect active folder in Windows XP?
> Eg. d:\folder\temp


Parse the result from `cd`
chomp( my $curpath = `cd`);
print $curpath;


P


 
Reply With Quote
 
max
Guest
Posts: n/a
 
      01-30-2007
Super, it work.

Thanks

> chomp( my $curpath = `cd`);
> print $curpath;



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
detect active IP behind firewall thetigergo Software 1 09-02-2012 10:41 AM
How to detect which iframe is active Arena Javascript 2 03-28-2005 08:56 AM
Detect active url then autonavigate to subdir Hans Hasenack Javascript 2 05-05-2004 08:26 PM
Can't copy Outlook Ex files in folder to Windows folder? Paul - xxx Computer Support 2 08-20-2003 03:06 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57