-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Clement Ow wrote:
| Phillip Gawlowski wrote:
|
|> Are you sure there are no open file handles? FileMon should reveal this:
|> http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx
|>
|> If there are no file handles shown, check if you can move the
|> directories/files via explorer.
|
| Hmmm, i dont quite understand about the open file handles..
| Do you mean if the folder is being in use without the knowledge of the
| user which in this case is myslelf? If so, I dont see the files being
| used by other programs whatsoever. I even closed explorer and run the
| script, but to no avail..

There still could be something using the folder or files, without your
knowledge.

In the following (broad) scenarios, Windows blocks access to files:

A) You don't have permission to change these files. Not even the
Administrator account can change all files in Windows, usually deep
within Windows.

However, access control can change that (a normal user, for example,
doesn't have write access to %programfiles%, where applications install
themselves by default, or even using EFS.

B) The file is still in use by a program. Any program. Either locally or
via a network, Windows cannot delete that file.

You can use FileMon to investigate which files are currently open. Just
closing Explorer doesn't help (a shell can still be pointing there, a
Word document could still be open, a backup tool or anti virus
application is using it...)


- --
Phillip Gawlowski
Twitter: twitter.com/cynicalryan

~   "Until you stalk and overrun, you can't devour anyone."
~              --- Hobbes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkf8RmYACgkQbtAgaoJTgL+/QQCZAXynHuARN160ZnnJFfY8vKUb
Fo0AnjgNFH4wjtzr8kJFFDzV+soYe3fT
=n/qR
-----END PGP SIGNATURE-----