Shortcut to copy a specific file to active window

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
wiperr
Junior Member
Junior Member
Posts: 8
Joined: 2013-07-27, 16:33 UTC

Shortcut to copy a specific file to active window

Post by *wiperr »

Hello everybody. I'm not new, but quite inactive,
so I had to make a new account.

Ok, this is what I want:

I have a specific file with a fixed path on a drive,
and i want to make a shortcut that copies that file to the active window/path.

And I have no idea how to do this.

So, help please?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Just create a button with the following command:

xcopy c:\path\filename .
Author of Total Commander
https://www.ghisler.com
wiperr
Junior Member
Junior Member
Posts: 8
Joined: 2013-07-27, 16:33 UTC

Post by *wiperr »

Thank you, that was exactly what I was looking for.

But one question - how do I turn on the "start minimised" option? It always pops up the cmd.exe window...

I'm using the command via usercmd.ini.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Please locate and check 'Run minimized' checkbox in command configure dialog.

Or you can directly set parameter iconic=1 in your command's section of usercmd.ini file.
Post Reply