hi experts,
I'm trying to move a file to another folder.
The file's name will change daily so I derive the file name
by determing the current date....
I get error 'Compilation error: expected end of statement"
I think I've got my quotes messed up..?
Thanks John
fso.MoveFile "\\gm\sys\Paragon\GM\Files\Inbound\\GPWGMPlanworks06\staged\"Test" & char_date & ".txt"" , "\\gm\sys\Paragon\GM\Files\Inbound\\GPWGMPlanworks06\Archived\"
I'm trying to move a file to another folder.
The file's name will change daily so I derive the file name
by determing the current date....
I get error 'Compilation error: expected end of statement"
I think I've got my quotes messed up..?
Thanks John
fso.MoveFile "\\gm\sys\Paragon\GM\Files\Inbound\\GPWGMPlanworks06\staged\"Test" & char_date & ".txt"" , "\\gm\sys\Paragon\GM\Files\Inbound\\GPWGMPlanworks06\Archived\"