Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Command macro to copy file

1 REPLY 1
Reply
Message 1 of 2
cbaildon001
308 Views, 1 Reply

Command macro to copy file

I would like to create a command that will copy a file from one place to another.

 

I can do it directly from the commandline like this

Capture.JPG

 

But when I try and put it in a command macro in the CUI editor like this

^C^C_shell;copy "c:/temp/drawing1.dwg" "g:/temp";

it does not seem to work. It comes up with this on the commandline

Capture2.JPG

but no copy of the file is made.

 

How can I get this to work without having to write an external file, such as a script or lisp?

 

Regards

Caleb Baildon
Senior Surveyor
Opus International Consultants Ltd
Wellington, New Zealand
Civil3D 2015 - Windows10
1 REPLY 1
Message 2 of 2
pbejse
in reply to: cbaildon001


@cbaildon001 wrote:

I would like to create a command that will copy a file from one place to another.

 


Look into vl-file-copy function

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost