Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Try:
EXECUTE cmd.exe /C copy "C:\Desktop\POC\qvdtest.qvw" "C:\Desktop\POC\Copy Files"
- Marcus
Try:
EXECUTE cmd.exe /C copy "C:\Desktop\POC\qvdtest.qvw" "C:\Desktop\POC\Copy Files"
- Marcus
Hi Marcus,
Thanks for the quick reply!!! It worked.
Hi,
Check this,
xCOPY /E /Y " C:\Desktop\POC\qvdtest.qvw" "C:\Desktop\POC\Copy Files"
PFA,
HTH,
Hirish
hi Marcus, what is the /c for? thank you
Hi @elimns
I was interested in that and found below link:
great, /c for close, thank you!