04-03-2020 01:10 PM
Hi,
I would like to launch a usual "File Dialog" interface (the typical Windows File Explorer) to let the user choose the desired path and filename to save some data. But I would like to block or hide C:\ so that the user cannot save the file in this partition but only the D:\ Data or other external driver connected to the PC.
Can anybody help me? I don't know if it's possibile with the native Windows File Explorer.
Best regards,
Marco.
Solved! Go to Solution.
04-03-2020 01:15 PM
Check the path that the user picks. If it is in the c: drive, than put up a dialog box warning them, and loop back around to have them choose again.
04-03-2020 01:51 PM
I think RavensFan is right that Windows will "helpfully" show you everything. However, if you are using the File Dialog Express VI, you can specify a Start Path of E:, which starts them off in the right place. Now, if you implement RavensFan's suggestion that you check and "reject, try again" if they choose C:, this will reinforce that they are "starting somewhere else", like it or not.
Bob Schor