Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
riyazasma1009
Creator
Creator

Copy Files

Hi All,

I have a requirement of copying the files from one folder to the other without using any macro for the same.

I have used the below command to achieve the same:

EXECUTE cmd.exe /C CP 'C:\Desktop\POC\qvdtest.qvw' 'C:\Desktop\POC\Copy Files'

Here my source folder is: C:\Desktop\POC\

File to be copied: qvdtest.qvw

Destination folder is: C:\Desktop\POC\Copy Files

The above script executes successfully without any errors but the files are mot being copied to the destination folder.

Can anyone please help me with the same.

Thanks,

Asma

1 Solution

Accepted Solutions
marcus_sommer

Try:

EXECUTE cmd.exe /C copy "C:\Desktop\POC\qvdtest.qvw" "C:\Desktop\POC\Copy Files"

- Marcus

View solution in original post

7 Replies
marcus_sommer

Try:

EXECUTE cmd.exe /C copy "C:\Desktop\POC\qvdtest.qvw" "C:\Desktop\POC\Copy Files"

- Marcus

riyazasma1009
Creator
Creator
Author

Hi Marcus,

Thanks for the quick reply!!! It worked.

HirisH_V7
Master
Master

Hi,

Check this,

xCOPY /E  /Y " C:\Desktop\POC\qvdtest.qvw"    "C:\Desktop\POC\Copy Files"


PFA,

HTH,

Hirish


HirisH
“Aspire to Inspire before we Expire!”
elimns
Contributor II
Contributor II

hi Marcus, what is the /c for? thank you

Ranganath_DR
Support
Support

elimns
Contributor II
Contributor II

great, /c for close, thank you!