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
(3,482 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
(3,482 Views)
Was the first one.
Thanks for the answer, Im gonna try to use Windows SDK...
0 Kudos
Message 3 of 4
(3,482 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
(3,482 Views)