LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
mniedernhuber

(Save last used folder, MRU) - > Rename "labview.exe" "labview.ini" to "labview_20xx.exe" and "labview_20xx.ini"

Status: New

If a user has installed more than one LabView (2009, 2010 and 2011) the last used folder

is in all version the same. E.g. if i open a VI in 2009 and close labview afterwards, the

same starting folder is used in another Labview version like 2010 or 2011.

 

This is caused by the MRU List from windows, not from LabView itself. To prevent this

it would be nice to rename the EXE and INI files like:

 

labview_2009.exe

labview_2009.ini

 

labview_2010.exe

labview_2010.ini

 

labview_2011.exe

labview_2011.ini

 

labview_2012.exe

labview_2012.ini

 

Now the MRU from windows distinguish between different EXE Names and each LabView version has it own last used folder.

 

(see also: Forum - Last Used Folder (MRU)

 

 

2 Comments
Yamaeda
Proven Zealot

It'd be even better if the registry key handled versions through sub folders or such, but this'd work.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
X.
Trusted Enthusiast
Trusted Enthusiast

It is actually worse than what you say: if you run two versions simultaneously and, say, open project X in folder F in version V1, then switch to version V2 and choose "open project", folder F will show up again (with of course no warning). That's potentially very damaging if you overwrite one version of a VI with another (and are not using a version control software).

Your proposal sounds a bit drastic to go around a Windows feature though...

For instance, it would break code that assumes that the app is called LabVIEW.exe (in Windows).