Copy a file with a favorite entry

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
jpcv
Junior Member
Junior Member
Posts: 28
Joined: 2003-02-11, 15:35 UTC
Location: Uruguay

Copy a file with a favorite entry

Post by *jpcv »

I'd like to have an entry in my favourites menu to copy a file from c:\ to the current directory (.). What is the right command?

THX
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Re: Copy a file with a favorite entry

Post by *Sheepdog »

jpcv wrote:I'd like to have an entry in my favourites menu to copy a file from c:\ to the current directory (.). What is the right command?

THX
I'm not sure to understand what your looking for.

You know how copy with F5 from one file Window to the other, I suppose.

Do you want always the same file copy e.g c:\ autoexec.bat to the current directory?

Then add a new button in Buttonbar. Set as Command 'xcopy' set as Parameter 'c:\autoexec.bat %P' . The %P sets the current path incl. '\' , so each time you click at this button, the 'auteoexec.bat' file will be copied to the current directory. Of course you can the same add at your TC-Start menu.

sheepdog
User avatar
jpcv
Junior Member
Junior Member
Posts: 28
Joined: 2003-02-11, 15:35 UTC
Location: Uruguay

Post by *jpcv »

Thank You.
Is there any way to do this internaly (with a TC command)?
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

No - as far as I know.

Theres only the cm_copy command - but this takes the current directory as source, and you can't hand over a filename.



sheepdog
Post Reply