Quantcast
Channel: Total Commander
Viewing all articles
Browse latest Browse all 18763

Eng :: RE: Putting a "copy" command on the button bar

$
0
0
Author: sorcar
Subject: I want to add a .jpg file and a .zip file
Posted: Fri Jul 29, 2016 6:08 pm (GMT -6)

Thanks, Ovg. I did this:

Command: %comspec% /c copy /b
Parameters: %C1+%C2

I have found this working whether the files are in the same or in different panes. Only, I needed to return the cursor to the source pane.

I should perhaps clarify my intent in case someone finds it useful.

I have a slightly different set of files than in the .txt file example I gave above. My pair of files are "Picture of Robert Frost.jpg" and "Poems of Robert Frost.zip". [There are many more such]. I wanted to add them by running:
Code:
copy /b "Picture of Robert Frost.jpg" + "Poems of Robert Frost.zip"


The .jpg file and the .zip file may in the same or different panes.

For anybody who might wonder why, this adds the .zip file to the .jpg file, which can be viewed by pressing Control+PgDn on the .jpg file. I can thus archive a scan of the whole Robert Frost book (in zip format) inside his image! It is a stenographic technique, but for my purpose it is smart archiving.

I added this long, somewhat off-topic explanation, hoping that some rare ones may find this unorthodox use worthwhile.

Thanks.


Viewing all articles
Browse latest Browse all 18763

Trending Articles