TheQwertiest / foo_spider_monkey_panel

foobar2000 component that allows to use JavaScript to create CUI/DUI panels
https://theqwertiest.github.io/foo_spider_monkey_panel/
MIT License
274 stars 21 forks source link

utils.IsDirectory and Utils.IsFile broken on some Disks #192

Open regorxxx opened 2 years ago

regorxxx commented 2 years ago

image

image

image

There are problems with virtual drives, disc readers, removable SD Card devices, etc.

Note the FSO approach works fine on those cases. new ActiveXObject('Scripting.FileSystemObject').FolderExists()

regorxxx commented 1 year ago

https://hydrogenaud.io/index.php/topic,111060.msg1022069.html#msg1022069

And here you go another instance of this problem. @Wil-B

regorxxx commented 1 year ago

@TT-Reborn you should also check your helpers, since the last time I checked it all the IsFile and IsFolder methods where not wrapped within try/catch. gr-helpers.js

TT-ReBORN commented 1 year ago

Thanks, I've updated those.