Hi Niavlys - In a message in microsoft.public.win2000.registry, here:
Andrew Aronoff posted the
following which might also work for your situation - worth a try:
Andrew Aronoff... wrote...
Jerold Schulman generously responded:
... Use tip 8107 in the 'Tips & Tricks' at
http://www.jsiinc.com
Unfortunately, tip 8107 pertains to the third party app,
"MOVEFILE.EXE" by Sysinternals.
However, using MOVEFILE allowed me to understand the syntax for
deleting a file with PendingFileRenameOperations and how to achieve it
with REGEDIT/REGEDT32.
1. Start REGEDT32 (W2K) or REGEDIT (WXP) and navigate to:
HKLM\System\CurrentControlSet\Control\Session Manager
2. W2K: Edit, Add Value..., Data Type: REG_MULTI_SZ, Value Name:
PendingFileRenameOperations, OK
WXP: Edit, New, Multi-String Value, [enter]
PendingFileRenameOperations
3. In the Data area, enter "\??\" + filename to be deleted. LFNs may
be entered without being embedded in quotes. To delete "C:\Long
Directory Name\Long File Name.exe", enter the following data:
\??\C:\Long Directory Name\Long File Name.exe
Then press OK.
4. The "destination file name" is a null (zero) string. It is entered
as follows:
W2K: Edit, Binary, select Data Format: Hex, click at the end of the
hex string, enter 0000 (four zeros), OK.
WXP: Right-click the value, choose "Modify Binary Data", click at the
end of the hex string, enter 0000 (four zeros), OK.
5. Close REGEDT32/REGEDIT and reboot to delete the file.
regards, Andy
--
**********
Please send e-mail to: usenet (dot) post (at) aaronoff (dot) com
**********
--
Please respond in the same thread.
Regards, Jim Byrd, MS-MVP
In