Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

close open files

Status
Not open for further replies.

m4a2t0t

Technical User
Mar 5, 2003
57
US
I am writing a batch file to copy some files using robocopy. How can I close any open files on the server using a batch file?

Hi!
 
Don't knwo about usign a batch. I'd use vbscript.

You could then use logic to initiate SysInternals KILL.EXE to end whatever process has the files open.

I hope you find this post helpful.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top