An icon shortcut for a BAT file - executing code on content of the active tab?

Discussion, questions and support.
Post Reply
Message
Author
Forez
Posts: 225
Joined: 30.01.2016, 11:05
Location: In front of a PC monitor

An icon shortcut for a BAT file - executing code on content of the active tab?

#1 Post by Forez » 26.02.2018, 23:50

Is it somehow possible do such a thing in FreeCommnader:

You are in a folder, you navigate mouse pointer to some shortcut and there it goes- a BAT file executes itself in that current location?

For example you want to delete all WAV files. So instead of
A] finding and selecting them completely manually
B] finding them by means of changing the sort order to that by type of content [extensions]
C] filtering the list with Quick Filter
D] pressing CTRL + F
you just have a BAT that deletes all WAV files in the current folder that it is executed in - and so you just click it and FC somehow tells that BAT what that current folder is [the currently active tab]?

Is it possible or is it a feature that would have to be pre-implemented first?

Karol
Posts: 596
Joined: 19.08.2007, 10:05

Re: An icon shortcut for a BAT file - executing code on content of the active tab?

#2 Post by Karol » 27.02.2018, 07:16

I make it so if the file is in view:
- select the file
- select all files with same extension (Alt++)
- delete all files (Del)

If the file is not in view
- select files dialog (+)
- delete all files (Del)

Forez
Posts: 225
Joined: 30.01.2016, 11:05
Location: In front of a PC monitor

Re: An icon shortcut for a BAT file - executing code on content of the active tab?

#3 Post by Forez » 27.02.2018, 20:27

If I have to select files in any way or filter the view, then there is only small additional gain by having an icon that would then delete from selected files those that meet the requirements [specified in the BAT file]. I want to save as many clicks and time I can

So unless I have such a BAT as an icon [thus being able to just point and click], that ALT++ way of selection will do the trick. It will be much more efficient than my current methods and only a little lesser than a solution of just hitting an icon from a Favorite Toolbar. And I can use ALT++ not only everywhere but also on every format, without the need to pre-list it in the BAT file


So thank you for sharing your knowledge

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest