I am creating a batch file to transfer a vb6 executable. I need to know if the file is open in order to run the batch. ie. if they are in the executable and using it exit out of the batch, if the exe is not running then i want to do the copy. is there any way from within a dos batch you can tell if a file is running?