GetDir

LabWindows/CVI 2017 Help

Edition Date: May 2017

Part Number: 370051AG-01

»View Product Info

DOWNLOAD (Windows Only)
LabWindows/CVI 2010 Help
LabWindows/CVI 2012 Help
LabWindows/CVI 2013 Help
LabWindows/CVI 2015 Help
LabWindows/CVI 2017 Help

int GetDir (char currentDirectory[]);

Purpose

Gets the current working directory on the default drive.

Parameters

Output
Name Type Description
currentDirectory char [] The pathname of the current directory.

currentDirectory must be at least MAX_PATHNAME_LEN bytes long.

GetDir does not add a terminating \ to currentDirectory.

Return Value

Name Type Description
result int The result of the call.
Code Description
0 Success.
-3 General I/O error occurred.
-4 Insufficient memory to complete operation.

Additional Information

Library: Utility Library

Include file: utility.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

WAS THIS ARTICLE HELPFUL?

Not Helpful