I may be way off on this but isn't "ntuser.dat.LOG" a windows system file? Have you tried this with any other file in the same folder? While you may NEED this one particular file, Windows might not want to give it up.

len

Derek Bump wrote:
Well, I tested the following solutions...

  1. Copy the file via the Windows Shell, then read it.
  2. Use the "Unlocker" program via the Shell, then read it.
  3. Use the script provided by Chipp (thank you Chipp).

... on Windows XP Home Edition w/ Service Pack 2 on the file: C:/Documents and Settings/<user>/ntuser.dat.LOG

Windows does not seem to want to let that file go. I'll see if I can find another solution, but again, if anyone has any ideas I am all ears. Thanks!


Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com

___________________________________________________________________
Compress your photos quickly and easily with JPEGCompress 2.9!
http://www.dreamscapesoftware.com/products/jpegcompress/


Derek Bump wrote:
Chipp,

What I'm referring to is the file locking mechanism that is employed by the system. This mechanism is traditionally used when attempting to prevent 2 processes from opening the same file and essentially overwriting each other's data.

http://en.wikipedia.org/wiki/File_locking

But I'll test your suggestion out to see if it resolves the problem. If it does, it saves me the time trying to copy the file first.


Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com

___________________________________________________________________
Compress your photos quickly and easily with JPEGCompress 2.9!
http://www.dreamscapesoftware.com/products/jpegcompress/


Chipp Walters wrote:
If all you're trying to do is unlock a file, this should work for you:
(WinXP)

answer file "Chose file to unlock."
if it is empty or the result is "cancel" then exit to top
put it into tfile
replace "/" with "\" in tfile
put "attrib"&& quote & tfile & quote && "-R" into DosCommand
set the hideConsoleWindows to true
get shell (DosCommand)
answer information tfile & cr & "Unlocked"
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to