Easy and Simple Solution

Wednesday, May 26, 2021

Delete a file named NUL on windows

No comments
Error:
Unable to remove /httpdocs/nul.38vHB38iv.cer: Path is invalid

Solution:
Open a command prompt and run the below command to rename and delete the file.
Rename the suspected file: 
rename \\.\C:\inetpub\vhosts\demo.com\httpdocs\nul.38vHB38iv.cer deletefile.txt
Delete the renamed file:
del C:\inetpub\vhosts\demo.com\httpdocs\deletefile.txt

No comments :

Post a Comment

Real Time Analytics -->