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

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

HELP! TOS DIRECTORY PROBLEM

Hi all

I have the following problem : I copy all the jobs from my colleague session but he's using a D:/TOS and me a C:/TOS ; now I have to change the directory in every jobs and out/input compenent

There are about 1000 jobs ...

 

**I cannot create a partition or change the name of my disc**

 

Does anyone know how can I change it more easily even if I have to use external script (perl, python, ...)

 

Thanks 

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi
I have never tried it, but you can have a try to update the .item file. When you export the job item, it contains three files: *.item, *.properties and *.screenshot. the *.item file contains the component parameters and theirs value.
Build a job to iterate each *.item and read the whole file as a string using tFileInputRaw component, and then replace all "D:/TOS" with "C:/TOS" and generate a new *.item file.

Regards
Shong