"The process cannot access the file because it is being used by another process.",
when I try to run this bat file called "ping.bat":
Code:
@echo off ping -n 1 -w 300000 www.google.com | find "could not find host" > null && call shutdown
@echo off ping -n 1 -w 300000 www.google.com | find "could not find host" > null && call shutdown
private void btnBrowse_Click(object sender, EventArgs e)
{
openFileDialog.ShowDialog();
}
Leave a comment: