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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Create file, Execute File

Status
Not open for further replies.

sshafe

Programmer
Oct 18, 2002
71
US
I am writing a script the creates a bat file and two text files used to ftp error messages. After the files are created (I see them show up in the folder) I am getting the error message:

The process cannot access the file because it is being used by another process.

when I try and execute the bat file. I have even tried making the script sleep in order to give it more time.

Any ideas?
 
have you closed all opened connections

____________________________________________________
$str = "sleep is good for you. sleep gives you the energy you need to function";
$Nstr = ereg_replace("sleep","coffee",$str); echo $Nstr;

onpnt2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top