Code: Select all
-o C:\temp\%%.jpg
Moderators: XnTriq, helmut, xnview
Code: Select all
-o C:\temp\%%.jpg
it works
mdnava wrote: ↑Fri Feb 11, 2022 9:38 pm Is there a way to disable folder recursion?
I use NConvert to convert and/or resize images from Windows context menus. After an update, last week by mistake I missed the click to a file I intended to change and a couple hours later I noticed there was a NConvert process running... It was in the process of irreversibly modify images in every subfolder in the Desktop. I had no idea why this happened since I've never had such a problem.
Recursion can be useful as an option, but I find it very disturbing that this feature is enabled by default..![]()
This will most likely cause irreversible data loss for users.
Yes, but more than that. I use NConvert from context menus. I have for years now. You cannot select all files you want to convert because there's a limit to the length of the arguments you can pass to any program in Windows. So I just right click in the folder background and the context menu sends the folder to NConvert so all files are converted. But, now, if there are any subfolders they will all get irreversibly converted as well.cday wrote: ↑Mon Feb 14, 2022 8:01 pm But your concern relates to a possible unintended misselection? The way I use NConvert that shouldn't occur, as I am able to check the code to be run carefully before running it, but you are selecting the input file through a (right?) click which could much more easily result in a misselection?
If the risk is real a possible solution might be as you imply to add an option to enable recursion (or possibly to disable it). Or possibly to provide an alert and require confirmation before the code is run?