Without trying the whole of your main program, it looks like the other monks have the delete subroutine correct--so the main program I think is the problem. Speaking for myself, I would start by cleaning up that ugly code and rename some varables variables to help make it clear what I am tring trying to do. Some good comments would help, too.
In reply to Re^3: Subroutine to delete one file and copy one file to another
by u65
in thread Subroutine to delete one file and copy one file to another
by shroh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |