From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to rename a directory ?

thanks a lot.David
0 Kudos
Message 1 of 4
(2,947 Views)
David,
Do you mean to rename a directory that already exists on one of your drives, or rename the directory of where a distribution kit is installed, or possibly something else? If the first, I think the best way to do that would be to incorporate the Windows SDK functions into your project, because the only functions I can see that are similar to that in CVI are MakeDir() and SetDir(), but neither will change an existing name.
0 Kudos
Message 2 of 4
(2,947 Views)
Was the first one.
Thanks for the answer, Im gonna try to use Windows SDK...
0 Kudos
Message 3 of 4
(2,947 Views)
well, why dont you execute the DOS command "ren" using the LaunchExecutable function?
you may read the function help for the usage.
0 Kudos
Message 4 of 4
(2,947 Views)