07-03-2023, 11:12 PM
(07-03-2023, 06:03 PM)dbox Wrote:OK, this is one solution. Does work with limits. Too many commandcount entries does not work. This a buffer size limit I think. Not a count limit.(07-03-2023, 02:26 PM)doppler Wrote: After some thought (always bad for me), Either this will become a QB64pe enhancement or I Don't Get It.
I use drop files a lot since implemented a couple releases ago (v1.3). It's easy to use and setup. A couple of commands and your program can take a list of files dropped on a window. I want to take to the next level.
Drop them on the desktop icon link.! And process them. This a hidden feature (or not well known) in Microsoft windows. I read through the program doc's again. Not clear if it is already implemented.
Let the fun begin....
If you drop a selection of files on an executable it will pass the filenames as arguments to the program.
Code: (Select All)Print "File Count:"; _CommandCount
For i = 1 To _CommandCount
Print Command$(i)
Next i
Dbox thanks for the insight trick. Another toolbox additive snip-it.
I can always use this as preprocessing trick, and follow on with dropbox later on. Why one over the other USE BOTH!!