R
RussCRM
Anyone know how to rename a file, but with the original extension?
For instance,
FileCopy (C:\ImageName.jpg, \\Server\Images\Image_GuestID.jpg)
I was assigning a file name using something like "\\Server\Images" &
"_" & [GuestID] & .dib but then when I added the ability to link to
jpg's, (which are then copied to the Server file as above) I realized
this wasn't going to work. So, I'm looking for something that will
get the type of file that the original was and rename it as the same
type of file.
For instance,
FileCopy (C:\ImageName.jpg, \\Server\Images\Image_GuestID.jpg)
I was assigning a file name using something like "\\Server\Images" &
"_" & [GuestID] & .dib but then when I added the ability to link to
jpg's, (which are then copied to the Server file as above) I realized
this wasn't going to work. So, I'm looking for something that will
get the type of file that the original was and rename it as the same
type of file.