LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save file to user's desktop

Solved!
Go to solution

Hi all, just a simple question (I hope!)

I'm writing a program and I want it to save the output .txt file to the desktop. Of couse, different computers will have different directory paths to their desktop (I.E. C:/Documents and Settings/Bob/Desktop - the username will be different in all cases).

Is there a certain command you can use to tell this system that you're looking for the desktop, regardless of the rest of the directory path? If that makes any sense.


Thanks!

0 Kudos
Message 1 of 3
(3,596 Views)
Solution
Accepted by topic author robin533

Yes.Use Get System Directory in file IO under file constants.

 

Example_VI.png

=====================
LabVIEW 2012


Message 2 of 3
(3,594 Views)

Thanks!

0 Kudos
Message 3 of 3
(3,589 Views)