Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi to all ,
i am trying to exec:
EXECUTE cmd.exe /C rename 'D:\AA.XLSX' 'D:\BB.XLSX' ;
BUT i get this warning :
Although had checked the security before :
when i check Oerride option it doeas NOTHING!?
what is wrong ? , plz help..
The REN/RENAME command takes quotes " instead of single quotes ' for the file parameters.
Well. It depends upon what version of Qlikview you are using.
Go through the below link. It's clearly explained. Let me know if you need more help or screenshot etc.
https://qlikviewcookbook.com/2016/01/authorizing-the-script-execute-statement/
regards
Pradosh
hello
be careful that your command is incorrect. You can't put a path in the renamed file name
EXECUTE cmd.exe /C rename 'D:\AA.XLSX' 'BB.XLSX' ;
thanks Robin , i tried that but nothing happend .
in the exec log it looks like it do sometheing
but , AA REMAIN the same ..
are you sure file AA.XLSX is not in use by some process ?
Can you try putting the fie to be renamed in the same directory of cmd.exe and try . If this works then there is some error in the command else security has to be corrected.
hi Thakur , my Ver is 12.1 ,
i try to run it strait on the server but still - no good ..
The REN/RENAME command takes quotes " instead of single quotes ' for the file parameters.
yea , i'm sure ' its fictive file , its close , and nobody needs it.
OK Miguel - this is the thing - THANKS !!