A
Andrew Aronoff
I would like to delete an in-use file during the boot of W2K SP4.
Unfortunately, there does not appear to be any way to use INUSE.EXE to
do that, since this utility replaces files rather than deleting them.
(I do not want to replace a file with an empty file and then delete
the empty file. I want to delete the file in a single operation.)
I then looked into using the PendingFileRenameOperations REG_MULTI_SZ
value at:
HKLM\System\CurrentControlSet\Control\Session Manager
However, despite many attempts, I can't find the syntax to delete a
file.
In general, the syntax used by this value is:
\??\source file
!\??\target file
To delete a file, it would seem that the source line must be empty.
However, an empty string is not accepted by REGEDT32.EXE.
How can a file be deleted at boot via PendingFileRenameOperations? Is
there an easier method that does not require a third party app?
regards, Andy
--
**********
Please send e-mail to: usenet (dot) post (at) aaronoff (dot) com
**********
Unfortunately, there does not appear to be any way to use INUSE.EXE to
do that, since this utility replaces files rather than deleting them.
(I do not want to replace a file with an empty file and then delete
the empty file. I want to delete the file in a single operation.)
I then looked into using the PendingFileRenameOperations REG_MULTI_SZ
value at:
HKLM\System\CurrentControlSet\Control\Session Manager
However, despite many attempts, I can't find the syntax to delete a
file.
In general, the syntax used by this value is:
\??\source file
!\??\target file
To delete a file, it would seem that the source line must be empty.
However, an empty string is not accepted by REGEDT32.EXE.
How can a file be deleted at boot via PendingFileRenameOperations? Is
there an easier method that does not require a third party app?
regards, Andy
--
**********
Please send e-mail to: usenet (dot) post (at) aaronoff (dot) com
**********