View Full Version : Copy File with Rename
12-03-2004, 05:52 PM
How would I copy a file from location 1 to location 2 and during the copy, rename the file to something else.
The copy action seems to only copy the exact same name.
12-04-2004, 08:37 AM
Use a Run Program action with a command of:
%DOSCMD% copy "c:\path\to\source\file.ext" "c:\dest\path\newname.ext"
or a Run Script action with code of:
vbld_FSO.CopyFile "c:\path\to\source\file.ext", "c:\dest\path\newname.ext"
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.