Delete a 11.txt
F:\>del 11.txt /p
F:\11.txt, Do you want to delete (Y/N)? y
F:\>echo %ERRORLEVEL%
0
---------------------------------------
Delete a non-existent 12.txt
F:\>del 12.txt
File F:\12.txt not found
F:\>echo %ERRORLEVEL%
0
--------------------------------------
Delete a file without permission
F:\>del c:\ntdetect.com
c:\NTDETECT.COM
Access denied.
F:\>echo %ERRORLEVEL%
0
That's it. What's going on?
F:\>del 11.txt /p
F:\11.txt, Do you want to delete (Y/N)? y
F:\>echo %ERRORLEVEL%
0
---------------------------------------
Delete a non-existent 12.txt
F:\>del 12.txt
File F:\12.txt not found
F:\>echo %ERRORLEVEL%
0
--------------------------------------
Delete a file without permission
F:\>del c:\ntdetect.com
c:\NTDETECT.COM
Access denied.
F:\>echo %ERRORLEVEL%
0
That's it. What's going on?
