Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Note that if you do: FileDelete("AFileNotThatDoesNotExistButIsNot.ONpath"), it calmly returns 1 and throws no error.
It seems as if FileDelete does a PATH search for the file (a la FileExist), and that part returns true, but then tries to delete it and the delete fails.
Background:
WinBatch 2004A
Will be fixed starting in version 2004B
Workaround
Instead of:
;no file path specified FileDelete("wwwbatch.ini")Use:
;Specify full file path FileDelete(strcat(DirGet(),"wwwbatch.ini"))
Article ID: W16444
File Created: 2005:02:18:12:20:44
Last Updated: 2005:02:18:12:20:44