in reply to Access is denied

Most likely other processes are accessing files at the same time as your script. Most likely you can wait a little while then retry. If access is still denied then it may be that there is another process holding the file opened and thus locked.


True laziness is hard work