Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Launch Windows Explorer from Windows DOS prompt

by davidrw (Prior)
on Apr 07, 2006 at 15:16 UTC ( #541882=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my ($dir, $file);
    while( readdir DIR ){
    ...
    $cwd .= "/" . ($dir || $file || '.');
    $cwd =~ s#/#\\#g;
    warn $cwd;
    
  2. or download this
    my @listing = sort { -d $b <=> -d $a || $a cmp $b } grep { ! /^\.\.?$/
    + } readdir DIR;
    $cwd .= "/" . ($listing[0] || '.');
    $cwd =~ s#/#\\#g;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://541882]
help
Chatterbox?
[shmem]: heavy protein discharge?
[LanX]: typo sorry meant protlose
[LanX]: ;)
[LanX]: see protwin situation
[QM]: Anything like a qualtoo?
[QM]: er, quatloo

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2017-08-17 10:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (286 votes). Check out past polls.

    Notices?