Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 5, 2007

Get Windows Folder Paths

8 ratings | 4.50 out of 5
Print

Overview

This VI calls a Windows API function to retrieve the path of Windows System Folders that may vary with different installations of the operating system. This VI is supported on Windows 2000, XP, and Vista.

Downloads

Filename: windows_folder_paths.vi
Requirements: View

This VI calls the SHGetFolderPathA() function in shell32.dll to get the absolute path to special Windows folders such as the desktop folder, my documents folder, program files folder, windows system folder, and other system and virtual folders.

This code was written by Jason Dunham of ShotSpotter, Inc. and based on older VIs by John E. Wilson and Noel Adorno previously found on zone.ni.com.

Requirements


Filename: windows_folder_paths.vi

Software Requirements


Application Software: LabVIEW Base Development System 8.2

 
8 ratings | 4.50 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).