Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HI All,
I am getting this message in Batch log file..
Does E:\Qlikview\Sales specify a file name
or directory name on the target
(F = file, D = directory)?
Files are not copying..
Kindly help me on this..
Regards,
Helen
Would you provide more information
Hope this helps
Batch file script to reload Qlikview Applications
Batch Script:
echo "--------------------" >> "D:\QV\Daily_Sales.txt"
Xcopy "D:\QV\Customer.qvd" "E:\QV\Sales" /s /i /y
Xcopy "D:\QV\Hier.qvd" "E:\QV\Sales" /s /i /y
nnn files added
nnn files replaced
no file added
no file replaced
this is my script.
Getting this message in Log file.
Does E:\Qlikview\Sales specify a file name
or directory name on the target
(F = file, D = directory)?
Regards,
Helen
It looks like the destination folder "Sales" does not exist in 'E:\QV\' path. Can you confirm that ?
Also when you get that error your can just press 'D', so that it will automatically creates that folder for you. Hope this helps...
The script you posted is the complete script ? because the line
"Does E:\Qlikview\Sales specify a file name " that you posted is not part of the script that I am seeing. This line is pointing to the 'Sales' folder under 'Qlikview' folder. So in this case either you do not have the folder 'Sales' or you do not have the folder 'Qlikview' and 'Sales'.
Have you follow which i've sent it to you.
Batch Script:
echo "--------------------" >> "E:\QV\Sales\Daily_Sales.txt"
Xcopy "D:\QV\Customer.qvd" "E:\QV\Sales" /s /i /y
Xcopy "D:\QV\Hier.qvd" "E:\QV\Sales" /s /i /y
nnn files added
nnn files replaced
no file added
no file replaced
this is my script.
Getting this message in Log file.
Does E:\QV\Sales specify a file name
or directory name on the target
(F = file, D = directory)?
Regards,
Helen
Ok. Do you have a valid 'E:\QV\Sales' folder? I think that it what you are missing...
Note: How are you executing this script on DOS prompt or within Qlikview ?
What is this Mean?
echo "--------------------" >> "E:\QV\Sales\Daily_Sales.txt"
SET vPath = 'E:\QV\Sales\Daily_Sales.txt'
TRACE "-----------"
TRACE >>
Trace $(vPath)
here my concern is to just copy qvds from one place to other..
Can you provide the script once you test in your system.
Because i am unable to copy the files..
Regards,
Helen