could not drag&drop a file to a cmd-file (extension .cmd

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
trippleJ
New Member
New Member
Posts: 1
Joined: 2009-09-07, 10:40 UTC

could not drag&drop a file to a cmd-file (extension .cmd

Post by *trippleJ »

If I drag&drop an file (xyz.txt) from the left window to a file with the extension cmd (sort_list.cmd) in the right window, TC interprets this as "copy to folder".
I expect that TC starts the programm sort_list.cmd with file xyz.txt as input.
But this doesn't work.

Doing the same in the "normal" Windows Explorer, everything works as expected.

Waiting for an answer ...
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2trippleJ
An author decided not to implement starting applications on drag'n'drop due to security reasons as explained here (German):
http://www.ghisler.ch/board/viewtopic.php?t=2533

Although interpreting drop on *.cmd as "copy to folder" is a bug IMHO.

For me, it would be annoying to have such feature. There are plenty of ways of working with executables/scripts to choose from (i.e. make a button). With execute on drop I would have many problems when I try to organize my "downloads" folder.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48104
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Although interpreting drop on *.cmd as "copy to folder" is a bug IMHO.
You get this ONLY when you have installed a packer plugin which claims to be responsible for cmd files, then TC sees it as an archive.
Author of Total Commander
https://www.ghisler.com
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

2ghisler(Author)
You're right. I've missed the fact that I set multiarc to not showing "yellow box icon".

Thank you for reminder :)
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

#128099
Post Reply