Drag n drop file on a batch script as parameter

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
obmana
Junior Member
Junior Member
Posts: 53
Joined: 2013-08-28, 15:35 UTC

Drag n drop file on a batch script as parameter

Post by *obmana »

In Windows explorer interface I can drag n drop a file on a batch script and script will run and accept dropped file as parameter. Trying to do the same in TC doesn't seem to work. Is such feature possible at all?


TIA
User avatar
white
Power Member
Power Member
Posts: 6015
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Drag n drop file on a batch script as parameter

Post by *white »

obmana wrote:In Windows explorer interface I can drag n drop a file on a batch script and script will run and accept dropped file as parameter. Trying to do the same in TC doesn't seem to work. Is such feature possible at all?
In Total Commander, dropping on a file is not possible. But you can drop on buttons. Drag and drop you batch script on the button bar to create a button for it. Then drag and drop a file on the button.
obmana
Junior Member
Junior Member
Posts: 53
Joined: 2013-08-28, 15:35 UTC

Post by *obmana »

Thanks for the tip :)
Works as expected
Post Reply