Re: How to delete rogue nul files

2004-07-22 Thread zzapper
Hi, I would like to declare this the NUL-est thread ever, and would like to thank you NUL-experts for your NUL-help. Seriously I've now learnt how to delete those pesky undeletable windows files namely DEL \\.\c:\somedir\nul or delinvfile.exe (google for this utility) And also the conundrum t

RE: How to delete rogue nul files

2004-07-22 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Larry Hall > Sent: 22 July 2004 03:01 > You can use '.' in place of '?'. [ Insert here quick discussion of difference between a UNC path to the local host's redirector and a softlink in the root of the object namespace hierarchy to t

Re: How to delete rogue nul files

2004-07-22 Thread zzapper
Hi, I would like to declare this the NUL-est thread ever, and would like to thank you NUL-experts for your NUL-help. Seriously I've now learnt how to delete those pesky undeletable windows files namely DEL \\.\c:\somedir\nul or delinvfile.exe (google for this utility) And also the conundrum t

RE: How to delete rogue nul files

2004-07-21 Thread Trevor Forbes
I just use a freeware tool... http://www.purgeie.com/delinv.htm Trevor -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: How to delete rogue nul files

2004-07-21 Thread Larry Hall
At 01:50 PM 7/21/2004, you wrote: >On Wed, 21 Jul 2004 13:28:30 -0400, wrote: > >>At 01:32 PM 7/21/2004, you wrote: >>>On Wed, 21 Jul 2004 18:14:45 +0100, wrote: >>> >>> > > I recently seem to be leaving nul files around my file system > which I cannot delete from Cyg or Win >

Re: How to delete rogue nul files

2004-07-21 Thread Christopher Faylor
On Wed, Jul 21, 2004 at 09:58:37PM +, Jan Engelhardt wrote: >>I've been using this: > >Interesting. I would have booted Linux and removed 'nul' with its >tools. :) Hmm. I would have taken a very tiny magnet, pried open the cover of the hard drive, and run the magnet over the part of the pla

Re: How to delete rogue nul files

2004-07-21 Thread Jan Engelhardt
> I've been using this: Interesting. I would have booted Linux and removed 'nul' with its tools. :) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: How to delete rogue nul files

2004-07-21 Thread Igor Pechtchanski
On Wed, 21 Jul 2004, Chuck McDevitt wrote: > While it's not hard to delete the rouge "nul" files, it is a recent change > to cygwin that allows them to be created at all. > > 1.5.9 seemed to treat "NUL" in the normal windows way (equivalent of > /dev/null), so didn't create these files. > > 1.5.10

Re: How to delete rogue nul files

2004-07-21 Thread Chuck McDevitt
While it's not hard to delete the rouge "nul" files, it is a recent change to cygwin that allows them to be created at all. 1.5.9 seemed to treat "NUL" in the normal windows way (equivalent of /dev/null), so didn't create these files. 1.5.10 changed so Cygwin no longer recognizes windows specia

Re: How to delete rogue nul files

2004-07-21 Thread zzapper
On Wed, 21 Jul 2004 19:05:05 +0100, wrote: >> -Original Message- >> From: cygwin-owner On Behalf Of zzapper >> Sent: 21 July 2004 18:51 > >> I recently seem to be leaving nul files around my file system >> which I cannot delete from Cyg or Win > >> >>>DEL \\.\c:\somedir\nul > >

RE: How to delete rogue nul files

2004-07-21 Thread Buchbinder, Barry (NIH/NIAID)
At Wednesday, July 21, 2004 1:51 PM, zzapper wrote: > On Wed, 21 Jul 2004 13:28:30 -0400, wrote: > >> At 01:32 PM 7/21/2004, you wrote: >>> On Wed, 21 Jul 2004 18:14:45 +0100, wrote: > > I recently seem to be leaving nul files around my file system > which I cannot delete from Cyg o

RE: How to delete rogue nul files

2004-07-21 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of zzapper > Sent: 21 July 2004 18:51 > I recently seem to be leaving nul files around my file system > which I cannot delete from Cyg or Win > >>>DEL \\.\c:\somedir\nul > >>no luck > >> > >>C:\inetpub\wwwdev\www.planet.com>d

Re: How to delete rogue nul files

2004-07-21 Thread zzapper
On Wed, 21 Jul 2004 13:28:30 -0400, wrote: >At 01:32 PM 7/21/2004, you wrote: >>On Wed, 21 Jul 2004 18:14:45 +0100, wrote: >> >> I recently seem to be leaving nul files around my file system which I cannot delete from Cyg or Win Hilfe mich! >>> >> >>> >>>DEL \\.\c:\s

RE: How to delete rogue nul files

2004-07-21 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of zzapper > Sent: 21 July 2004 18:33 > On Wed, 21 Jul 2004 18:14:45 +0100, wrote: > >> I recently seem to be leaving nul files around my file system > >> which I cannot delete from Cyg or Win > >> > >> Hilfe mich! > > > > > > >DEL

Re: How to delete rogue nul files

2004-07-21 Thread zzapper
On Wed, 21 Jul 2004 10:26:41 -0700, wrote: Eric I tried #!/usr/bin/env perl my $filename='nul'; if (unlink $filename) { print "Removed $filename.\n"; } else { warn "Can't unlink $filename: $!"; } Said it had deleted file but that was lie!! zzapper (vim, cygwin, wiki & zsh) -- vim -c ":%s/^/

Re: How to delete rogue nul files

2004-07-21 Thread Larry Hall
At 01:32 PM 7/21/2004, you wrote: >On Wed, 21 Jul 2004 18:14:45 +0100, wrote: > > >>> >>> I recently seem to be leaving nul files around my file system >>> which I cannot delete from Cyg or Win >>> >>> Hilfe mich! >> > >> >>DEL \\.\c:\somedir\nul >> >>cheers, >> DaveK > >no luck > >C

Re: How to delete rogue nul files

2004-07-21 Thread zzapper
On Wed, 21 Jul 2004 18:14:45 +0100, wrote: >> >> I recently seem to be leaving nul files around my file system >> which I cannot delete from Cyg or Win >> >> Hilfe mich! > > >DEL \\.\c:\somedir\nul > >cheers, > DaveK no luck C:\inetpub\wwwdev\www.planet.com>del nul The filename,

Re: How to delete rogue nul files

2004-07-21 Thread Eric Hanchrow
I've been using this: #!/usr/bin/env perl use warnings; use strict; use Data::Dumper; die "This program is only useful on Cygwin.\n" unless ($^O eq "cygwin"); my $filename = shift; $filename =~ s(/nul$)()i; $filename = qx(realpath $filename); chomp $f

RE: How to delete rogue nul files

2004-07-21 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of zzapper > Sent: 21 July 2004 17:13 > Hi, > > I recently seem to be leaving nul files around my file system > which I cannot delete from Cyg or Win > > Hilfe mich! http://www.google.com/search?q=rm+delete+nul+com+file+site:cygwin.c