I’m trying to do a fairly simple copy of a PDF file from one folder to another using “FileCopy”. The challenge is the filename contains an “@” sign (“[email protected]”). While I can manually open the file and save it with the desired filename , if I use FileCopy it throws a “bad file name” error. The code doing the copy is in a loop and works fine for all other filenames without the "@"
Ive tried both FileCopy and fso.CopyFile
And![]()
Please Login or Register to view this content.
Both give the error. Is there a better way to simply copy this file over?![]()
Please Login or Register to view this content.
Bookmarks