Drag and Drop a file to an batch file

Discussion and questions - donor version.
Post Reply
Message
Author
nuno_brum
Posts: 3
Joined: 29.10.2022, 12:32

Drag and Drop a file to an batch file

#1 Post by nuno_brum » 08.02.2025, 12:55

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?

Marek
Author
Author
Posts: 4229
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: Drag and Drop a file to an batch file

#2 Post by Marek » 09.02.2025, 12:29

My batch test file - dir_test.bat:

Code: Select all

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

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 5 guests