FG
💻 Software

How do I remove a file named "NUL" on Windows?

Fresh5 days ago
Mar 15, 202633684 views
Confidence Score1%
1%

Problem

I have a Windows XP box (NTFS filesystem) on which I found a file named . I have not been able to remove this file in any usual way. The file appears to be owned by in the group, unlike any other file in the same directory (the other files are owned by my user id). How do I get rid of this file? Where did it come from?

Error Output

NUL

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I remove a file named "NUL" on Windows?

Low Risk

Try in the command prompt. See this Microsoft Support article for details: You cannot delete a file or a folder on an NTFS file system volume, under "Cause 5: The file name includes a reserved name in the Win32 name space".

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment