Skip to main content
Announcements
Jan 15, Trends 2025! Get expert guidance to thrive post-AI with After AI: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

File Copying and Renaming

Hi,

We are using Qlikview 11.2 in our company. I want to copy the .tab file from source location to the target location and in the target location the file name should be prefixed with the reloading date of the App.

I am just able to copy the file from source location to the target location but not able to prefix with the reloading date of the target file.

My code to copy the file is:

EXECUTE cmd.exe /C xcopy "D:\Source Loc\vectory.tab" "D:\Target Loc" /Y;

Please help me someone on this.

Thanks,

Veeranjaneyulu G

1 Solution

Accepted Solutions
5 Replies
oknotsen
Master III
Master III

Could you please explain to me what this has to do with QlikView?

I don't see the relation yet.

May you live in interesting times!
Anonymous
Not applicable
Author

albertovarela
Partner - Specialist
Partner - Specialist

Here's a couple of options:

1) Load and rename/store using QlikView

- Execute the command line and keep the file name

- Load and store (with new name)2017-02-12_10-36-28.png

2) Use vbscript. I've used this in the past and works fine

https://www.experts-exchange.com/questions/28064320/Robocopy-and-rename-file-with-today

Not applicable
Author

Hi all,

This discussion helped me to solve my issue. Thanks everyone.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

If you found a solution, please close this discussion by marking the relevant answer as CORRECT. You can mark all other useful answers (if any) as HELPFUL by selecting the corresponding item from the Actions menu.

That way, other community members will know that this discussion contains a solution to a problem and isn't in need of any further answers.

Thanks