LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can I rename a file programmatically?



@teky wrote:
Can i change the target path of a file and rename it in the same MOVE.VI?


I don't see why not. Did you try it?

___________________
Try to take over the world!
0 Kudos
Message 11 of 14
(1,369 Views)
ya it works.  I had a problem with it, but i was using a vi to list files and folders, then i used the list as a path, so it only gave me a relative path instead of an absolute.  i was using that path for my target.  so i had to use change up some things to get the full path.  works though!
0 Kudos
Message 12 of 14
(1,363 Views)

i have a question...

i have automattically created pdf files using PDFcreator and created autosave to pdf.

i was able to rename my pdf files to serial number that it was supprose to be..but i am stuck on a situation...

 

i have SN_11111.xls, SN_11112.xls, SN_111113.xls in a directory..

how would i rename all directory files under *.xls to 

*.pdf??????

 

Please help...

thank you in advance...

 

Best regards,
Krispiekream
0 Kudos
Message 13 of 14
(1,106 Views)

okay..i got...

use the  search and replace string function to search for .xls and replace with.pdf

 

Best regards,
Krispiekream
0 Kudos
Message 14 of 14
(1,104 Views)