Mail Archives: cygwin/2004/07/21/14:12:09
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 or Win
>>>>>
>>>>> Hilfe mich!
>>>>
>>>
>>>>
>>>> DEL \\.\c:\somedir\nul
>>>>
>>>> cheers,
>>>> DaveK
>>>
>>> no luck
>>>
>>> C:\inetpub\wwwdev\www.planet.com>del nul
>>> The filename, directory name, or volume label syntax is incorrect.
>>
>>
>> Use the syntax Dave suggested and you'll have better luck.
>
> Larry
> That zeroed the file, but it's still undeletable. But what is that
> wierd delete syntax??
Are you sure that they are really there? When you see them but cannot
delete them in windows, are you using cmd.exe or command.com or have you
tried in Windows Explorer? Do you see them in Windows Explorer? If not,
you have fallen into the following pitfall.
Many versions of DOS and Windows report the existence of NUL, AUX, and
"other special file names" in every directory. But they are not really
there. This allows
C:\path> dir > nul
in any directory. There is no C:\DEV in DOS/Windows to put nul/aux/etc.
into.
--
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/
- Raw text -