windows - How to unlock a directory/file with pure batch instructions? -


i know there several utilities (such unlocker, lockhunter, etc.) offer functionality of finding processes locking file or directory. however, using external software (even freeware) hassle within company , using powershell restricted. so, wondering how can write batch script can detect , terminate processes locking files in given directory?

i guess should use kind of taskkill commands, quite new batch commands. attention.


Comments

Popular posts from this blog

c# SetCompatibleTextRenderingDefault must be called before the first -

c++ - Fill runtime data at compile time with templates -

C#.NET Oracle.ManagedDataAccess ConfigSchema.xsd -