Hi folks
The following script copies a file to a backup folder, and dates it by renaming it 'backup30012004' - the digits are today's date, minus the '/'s
It works until I try to call the function checkdup(filename) which is supposed to add an extra digit on the end of the name of the backed up file if there is already one with todays date on.
Can anyone tell me what I need to change to stop the script hanging?
Many thanks
Gerard
The following script copies a file to a backup folder, and dates it by renaming it 'backup30012004' - the digits are today's date, minus the '/'s
It works until I try to call the function checkdup(filename) which is supposed to add an extra digit on the end of the name of the backed up file if there is already one with todays date on.
Can anyone tell me what I need to change to stop the script hanging?
Many thanks
Gerard