LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete or rename a file with lab windows 3.1?

Hi, I'm working with Lab windows 3.1 and I want to delete and rename a file. How cand i do that.

for exemple: delete c:\Test
and rename c:\New -> c:\Test

tanks
David
0 Kudos
Message 1 of 2
(2,935 Views)
LabWindows 3.1 and later versions give you DeleteFile() and RenameFile() functions. To select them (or other related file functions), in a code window, use the Library menu: select Library >> Util >> File Utilities >> DeleteFile or RenameFile. The function panels will open and you'll be open to enter your parameters (variable names or quoted string constants) and insert the function call.

Al
0 Kudos
Message 2 of 2
(2,935 Views)