Page 1 of 1

File/Open last folder opened

Posted: Wed Apr 05, 2023 6:43 pm
by Sword
There's something that has changed with the file open location behavior. It now seems to be completely locked in to always go to C:\cncm\ncfiles. The fix that I came up with several years ago no longer works (attached links). When you have hundreds of sub folders in the ncfiles folder, it's quite helpful to not have to relocate the last folder used to pull up the next file that is wanted. No offense, but is there a reason that the standard windows file open dialog can't be used, so that you are always greeted with the last/previously used folder, like most windows programs use?

https://centroidcncforum.com/viewtopic. ... =file+open
http://centroidcncforum.com/viewtopic.p ... =20#p22088

Re: File/Open last folder opened

Posted: Wed Apr 05, 2023 9:08 pm
by tblough
See parameter 4 in the manual to use Windows file dialogs.

Re: File/Open last folder opened

Posted: Wed Apr 05, 2023 9:39 pm
by Sword
Yes, it's set to 9, just as it has always been. It did work with the windows hack workaround, but it no longer does.

Should have said, the normal windows open file dialog way of opening the last folder chosen while using a program.

Re: File/Open last folder opened

Posted: Fri Apr 07, 2023 10:06 am
by Joey
Looking into this for 5.0 RC

Re: File/Open last folder opened

Posted: Fri Apr 07, 2023 2:33 pm
by cnckeith
added to parameter 4 the ability to add 16 which will force the windows file dialog to load from the last known directory in the same way the advanced file display works.

Re: File/Open last folder opened

Posted: Tue May 02, 2023 11:25 am
by CNCMaryland
This works great. Set the PARM to 25 for windows file explorer returning to last folder used.