- May
- 3,515
- 5
Checked in 32b TCC versions 11, 12, 14 and 15 under WinXP-32b.
I tried the command below both with and without the /e option; also using the e suboption of /n option.
*del /e /q /x /y /z /s /njt mozilla-temp-files\
The specified directory contains a file which is in use by another process, thus neither the file nor its directory can be deleted. Without /e option (and without /ne) there are two error reports; with either /e or /ne there are no error reports. In either case %_del_errors is set to 2 in TCC versions which support it.
According to HELP:
/e Suppress all non-fatal error messages, such as "File Not Found." Fatal error messages, such as "Drive not ready," will still be displayed. This option is most useful in batch files and aliases.
I interpret the above HELP fragment to mean that the failure to delete is a fatal error, and you need the /ne option to suppress it, but /e should report it. IIRC I was one of those who suggested that when you try to delete something that does not exit, it is not a fatal error, because the system state after the command is what you wanted it to be anyway, so an option to suppress an informatory message would reduce clutter; that's what /e was intended to achieve. Though the documentation is not crystal clear, I thought that was also the purpose of /ne (though there are times one does not want actual error messages, either).
I tried the command below both with and without the /e option; also using the e suboption of /n option.
*del /e /q /x /y /z /s /njt mozilla-temp-files\
The specified directory contains a file which is in use by another process, thus neither the file nor its directory can be deleted. Without /e option (and without /ne) there are two error reports; with either /e or /ne there are no error reports. In either case %_del_errors is set to 2 in TCC versions which support it.
According to HELP:
/e Suppress all non-fatal error messages, such as "File Not Found." Fatal error messages, such as "Drive not ready," will still be displayed. This option is most useful in batch files and aliases.
I interpret the above HELP fragment to mean that the failure to delete is a fatal error, and you need the /ne option to suppress it, but /e should report it. IIRC I was one of those who suggested that when you try to delete something that does not exit, it is not a fatal error, because the system state after the command is what you wanted it to be anyway, so an option to suppress an informatory message would reduce clutter; that's what /e was intended to achieve. Though the documentation is not crystal clear, I thought that was also the purpose of /ne (though there are times one does not want actual error messages, either).