Tredlyn Posted September 6, 2008 Report Share Posted September 6, 2008 Hi, I am relatively new to LV and wasn't able to find a way of doing this on my own: At the end of an App that I have written I want the user to be able to open the folder to which all of his output files were saved. How can I do this? Thanks in advance. Quote Link to comment
Norm Kirchner Posted September 6, 2008 Report Share Posted September 6, 2008 I can't say specifically how to do it, but I know there is no native way in LabVIEW to accomplish this. What I would expect the answer to be, is that you will call the SystemExec command (executes command line operations) to some component of .... wait... this is easier than I'm making it out to be. yup... that works. Just call that at the end of your program w/ the appropriate path worked into the end of the string. Quote Link to comment
mross Posted September 6, 2008 Report Share Posted September 6, 2008 You can execute a windows commands using the SystemExec vi. If you give it the string: run c:\ You will get and explorer window of C:\ There are variuos obscure commands and syntax that will cause the explorer window to look certain ways, such as with the folder tree present, and so on. I don't have a reference for you on that, but knowing about it should help. So assemble a string that does what you want and wire it to the SysExec vi and you are good to go. Mike Quote Link to comment
crelf Posted September 7, 2008 Report Share Posted September 7, 2008 QUOTE (Tredlyn @ Sep 5 2008, 05:22 PM) At the end of an App that I have written I want the user to be able to open the folder to which all of his output files were saved. Feed the path into "Open URL in Default Browser.vi" http://lavag.org/old_files/monthly_09_2008/post-181-1220678630.png' target="_blank"> Quote Link to comment
Tredlyn Posted September 9, 2008 Author Report Share Posted September 9, 2008 Thanks a lot. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.