is there an easy way to check and see if there is a lock on a file?
Thanks
Justin
is there an easy way to check and see if there is a lock on a file?
Thanks
Justin
Grab handle.exe from http://live.sysinternals.com. It isn't a native
PowerShell cmdlet but it will get the job done. Note: you need to run this
utility elevated ie with admin privs.
--
Keith
"Justin Rich" <jrich523@xxxxxx> wrote in message
news4C0EB93-65C3-48CA-BF2C-1C94D3ED1FAD@xxxxxx
> is there an easy way to check and see if there is a lock on a file?
>
> Thanks
> Justin
thanks!
"Keith Hill [MVP]" <r_keith_hill@xxxxxx_no_spam_I> wrote in message
news34A2FED-DD62-4F08-BD01-AF6B62A1727A@xxxxxx
> Grab handle.exe from http://live.sysinternals.com. It isn't a native
> PowerShell cmdlet but it will get the job done. Note: you need to run
> this utility elevated ie with admin privs.
>
> --
> Keith
>
> "Justin Rich" <jrich523@xxxxxx> wrote in message
> news4C0EB93-65C3-48CA-BF2C-1C94D3ED1FAD@xxxxxx
>
>> is there an easy way to check and see if there is a lock on a file?
>>
>> Thanks
>> Justin
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows 7 / Vista file lock? | JohS | Vista file management | 1 | 30 Mar 2010 |
| Lock attachment file and cannot quit correctly | Icepeach | Live Mail | 2 | 05 Aug 2009 |
| lock file while Add-Content | MiroslavK | PowerShell | 6 | 29 Dec 2007 |
| lock single file/folders | pageyxr8 | Vista security | 1 | 15 Dec 2007 |
| File lock when using Net.Mail.Attachment | tank.nl@gmail.com | PowerShell | 1 | 31 Jan 2007 |