Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Batch error ?

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

17 Replies
Anil_Babu_Samineni

Would you provide more information

Hope this helps

Batch file script to reload Qlikview Applications

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Not applicable
Author

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

trdandamudi
Master II
Master II

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...

trdandamudi
Master II
Master II

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'.

Anil_Babu_Samineni

Have you follow which i've sent it to you.

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Not applicable
Author

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

trdandamudi
Master II
Master II

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 ?

Anil_Babu_Samineni

What is this Mean?

echo "--------------------" >> "E:\QV\Sales\Daily_Sales.txt"

SET vPath = 'E:\QV\Sales\Daily_Sales.txt'

TRACE "-----------"

TRACE >>

Trace $(vPath)

Please add me Anil_Babu_Samineni to interact faster when reply back. Speak low think High.

Before develop something, think If placed (The Right information | To the right people | At the Right time | In the Right place | With the Right context)
Not applicable
Author

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