VMware Communities
jriker1
Contributor
Contributor

script delete lock files

I have a console that I can turn on and off my VMware Workstation virtual machines that uses custom Wake on Lan.  Problem is it aborts if there is a lock file or folder left over from the prior launch.  I have to assume that if the virtual was still active that you couldn't delete those lock files.  Is there a way to run thru and delete any lock files or folders and if they fail because in use move on and if they delete they delete?

0 Kudos
0 Replies