LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get user name

Hi I need Labview to programatically create a file in the C:\Documents and Settings\"Username"\Application Data\ folder but i do not not how to find the user name.  I tried the "Get permissions' function but that returned nothing for the owner and group
 
My only other choice would be to use the temporary directory filepath and work backwords but that is not very clean
 
thanks
0 Kudos
Message 1 of 5
(4,294 Views)

Hey,

Please open and run attached VI, this should help.

Christian

0 Kudos
Message 2 of 5
(4,284 Views)

Alternatively:

 

:-)
Message 3 of 5
(4,277 Views)
Thanks, I am going to give these a try
0 Kudos
Message 4 of 5
(4,273 Views)
Can't you just drop a property node (Application Control | Property Node) and select "Application | User Name"?
Message 5 of 5
(4,258 Views)