Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to read files from one folder and move to another folder but following script is not giving the desired output after execution of the script(see image below)
let FilePath = [D:\Qlik_OrderSheets\final_order];
let vFilPathProceed =[D:\Qlik_OrderSheets\OrderSheets]
Full_Order_Data:
LOAD distinct Plant,
OrderNo,
OrderDate,
OrderType,
DistChannel,
Division,
NCODE,
Season,
MatType,
Style,
Color,
Size,
OrderQty,
OrderValue,
ConfirmedQty,
ConfirmedValue,
MRP
FROM
[D:\Qlik_OrderSheets\OrderSheets\QLIK*.CSV]
(txt, codepage is 1252, embedded labels, delimiter is ',', msq);
Execute cmd.exe /C Move $(FilePath) $(vFilPathProceed);
Could you try this using store command instead of Execute
store cmd.exe /C Move $(FilePath) $(vFilPathProceed);
This line is giving an error
No Store Command has a different Syntax , please check https://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptRegularStatement... and https://community.qlik.com/t5/QlikView-App-Development/Multiple-Excel-file-load-and-save-each-to-qvd...
No Store Command has a different Syntax , please check https://help.qlik.com/en-US/qlikview/12.1/Subsystems/Client/Content/Scripting/ScriptRegularStatement... and https://community.qlik.com/t5/QlikView-App-Development/Multiple-Excel-file-load-and-save-each-to-qvd...
let FilePath = "D:\Qlik_OrderSheets\final_order";
let vFilPathProceed = "D:\Qlik_OrderSheets\OrderSheets";
Execute cmd.exe /C Move $(FilePath) $(vFilPathProceed);
please make sure you allow qvw to execute the commands from it.
Hi,
what do you mean by this?
"please make sure you allow qvw to execute the commands from it."
I am using QVW only to execute the script
you mean this?