Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: From: "Schaible, Jorg" To: cygwin AT cygwin DOT com Subject: RE: symlinks Date: Wed, 6 Feb 2002 12:29:54 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Note-from-DJ: This may be spam Hi Jorge, try $PROG2 = "C:\\\\cygwin\\\\bootp\\\\linux\\\\install"; ^^ ^^ ^^ ^^ ^^ Regards, Jorg >-----Original Message----- >From: Jorge Goncalvez [mailto:goncal11 AT col DOT bsf DOT alcatel DOT fr] >Sent: Wednesday, February 06, 2002 11:31 AM >To: cygwin AT cygwin DOT com >Subject: Re:symlinks > > >Hi, I have made a symlink with the cygwin command ln -s and i >wanted to remove >it by Perl code: >I have this: >$PROG2 = "C:\\cygwin\\bootp\\linux\\install "; >if (-l $PROG2) >{ > > system "rm $PROG2"; > > } > else{ > print "popo"; > } > >The problem is that the symlink install it isn't removed >althought it is present >with ls -l in the good directory? >Why? >I tested my rm command by hand and it works it seems -l not working. >Thanks. > > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/