Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi all,
is there a command to delete a directory using qlikview script?
for ex: after the report runs --at the end the script we should delete that directory
hi all,
my current scenario is .. I need to move a specific folder with the folder name
for ex 12122015....
in a month I may receive this folder in any of the dates
11122015 or 10122015 or 23122015 keeping dec as example
so I tried the below making a variable for date as todays date.. it works good. but as the folders dates are not the same ..in everymonth you may receive this folder on any of the dates .so today does not work ..so in a month if today is 24th I may get the folder dated 09202015
EXECUTE cmd /C move C:\Data\$(Date).in D:\processed;
Hi, benny1409.
I believe that the simple form, will be Map Network drive, on machine with Qlikview Desktop installed.
In bat file, you utilize the unit mapping and the final path. Ex.: F:\archive\qlik.

hi Jonas,
maping is good. but how could I move .in folder specified with dates.
11122015 or 10122015 or 23122015 keeping dec as example
so I tried the below making a variable for date as todays date.. it works good. but as the folders dates are not the same ..in everymonth you may receive this folder on any of the dates .so today does not work ..so in a month if today is 24th I may get the folder dated 09202015
if I put *.in .in the move command .it does not work
Hi, benny1409.
The command cmd require the extension .exe. Ex.: EXECUTE cmd.exe /C move C:\Data\$(Date).in D:\processed;
Note: verify if variable Date is been initialized with value. Including, equal the name of the folder.