in reply to Re: Perl command to Create/Remove windows link
in thread Perl command to Create/Remove windows link
I have created directory symbolic link by 'mklink' windows command.
I didn't success to found this directory symbolic link using '-l' flag - maybe do you have any idea
<DIR> . <DIR> .. <DIR> Dir1 <DIR> Dir2 <DIR> Dir3 <SYMLINKD> temp [Dir1]
According to the above example. i would like to print only 'temp' directory with the following code:
my @dirs = <*>; foreach my $symlnk (@dirs ) { print "$symlnk\n" if (-l $symlnk); }
But as i wrote 'temp' folder wasn't printed - way?
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl command to Create/Remove windows link
by BrowserUk (Patriarch) on Aug 01, 2012 at 06:12 UTC | |
by bulk88 (Priest) on Aug 01, 2012 at 06:34 UTC | |
by BrowserUk (Patriarch) on Aug 01, 2012 at 07:52 UTC | |
by Anonymous Monk on Aug 01, 2012 at 08:17 UTC | |
by BrowserUk (Patriarch) on Aug 01, 2012 at 08:59 UTC | |
|
Re^3: Perl command to Create/Remove windows link
by Anonymous Monk on Aug 01, 2012 at 06:13 UTC |