Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: How to get full path name in windows?

by Khen1950fx (Canon)
on Dec 09, 2012 at 22:48 UTC ( #1008010=note: print w/ replies, xml ) Need Help??

in reply to How to get full path name in windows?

Using CountZero's script with a regexp:

#!/usr/bin/perl -l use strict; use warnings; my $dirname = shift @ARGV; opendir( DIR, $dirname ); my(@files) = readdir(DIR); print "File path: "; foreach my $file (@files) { my $file_path = "$dirname/$file"; $file_path =~ s/\\|\//\\\\/g; print $file_path; } closedir DIR;

Comment on Re: How to get full path name in windows?
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008010]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2015-11-30 22:39 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (788 votes), past polls