I have an array of file names in a directory...Created as follows ... directory(c:*.?55)
I then copy the files into another directory.
Say there are 4 files that make up the array:
gl.d55
base.d55
term.d55
gener.p55
All works fine. All files with the 55 are copied into another directory.
But under certain conditions I want to keep the exact same 4 files in the array but I want to copy them to a directory with a different number say 67.
so file gl.d55 should copy as gl.d67
so file base.d55 should copy as base.d67
so file term.d55 should copy as term.d67
so file gener.d55 should copy as gener.d67
I don't know how to do this.
Help please.
Harvey