Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
abhi90
Creator II
Creator II

Rename FolderNames present in Same Directory

Hi All,

I want to rename Some Folders present in a Directory. Is it possible to achieve in anyway?

 

Labels (2)
17 Replies
abhi90
Creator II
Creator II
Author

Not working @rhall 0683p000009MPcz.png 

Anonymous
Not applicable

I tested it and it worked. That is exactly the code I tested. What is not working exactly?
abhi90
Creator II
Creator II
Author

RENAME part

Anonymous
Not applicable

It will rename any flder without a "_" character in it. I've tested that this is the case. Can you give an example of what is not being renamed?

abhi90
Creator II
Creator II
Author

Hi @rhall,
Yeah none of the folders are being renamed with the new code. Not even the folders with date timestamp.
abhi90
Creator II
Creator II
Author

Hi @rhall,
With folders being present there still it is unable to rename my folders without timestamp. 😔😔😔😔. It is iterating perfectly from tFilelist. Printing folderNames. But dont know rename part not happening
Anonymous
Not applicable

Do the folder paths have "_" in them anywhere? 

abhi90
Creator II
Creator II
Author

Hi @rhall,
Dont know how to thanku Sir. 😊 Thanks a lot. Your solution worked like charm. 😊