Page 1 of 1

Drag and Drop a file to an batch file

Posted: 08.02.2025, 12:55
by nuno_brum
I have a batch file that receives a file as an argument. I would like to drag and drop a file into it for it to run. This action works on the windows explorer but not in FreeCommander.
Strangely, I have the impression that this worked in a previous FreeCommander version. Could you bring back this feature?

Re: Drag and Drop a file to an batch file

Posted: 09.02.2025, 12:29
by Marek
My batch test file - dir_test.bat:

Code: Select all

dir %1
pause
Dropping some folder on the bat file shows the folder content.

Re: Drag and Drop a file to an batch file

Posted: 23.03.2026, 21:35
by Forez
Marek wrote: 09.02.2025, 12:29 [...]

Code: Select all

dir %1
pause
[...]
I can confirm that this works in Build 946 64-bit Donor Portable and Build 941 32-bit Public Installed on Windows 10 IOT Enterprise LTSC 21H2 x64 (19044.6691)