Copy and then Rename a document

andrefrancis

andrefrancis
Local time
Today, 14:55
Joined
Mar 11, 2005
Messages
40
Can anyone give me code for selecting a document (Doc1.doc say), copying it and then renaming the copy (Doc2.doc say). The document will have a known path on my C drive.

Thanks.
 
General

filecopy source, destination

so with your filenames, both residing directly on the hardisk

filecopy "c:\Doc1.doc say", "c:\Doc2.doc say"

;)
 
RoyVidar said:
General

filecopy source, destination

so with your filenames, both residing directly on the hardisk

filecopy "c:\Doc1.doc say", "c:\Doc2.doc say"

;)

Roy ... thanks again ... worked like a dream!
 

Users who are viewing this thread

Back
Top Bottom