Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 yanivvl0
		
			yanivvl0
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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..
.png) 
					
				
		
 Miguel_Angel_Ba
		
			Miguel_Angel_BaThe REN/RENAME command takes quotes " instead of single quotes ' for the file parameters.
 
					
				
		
 pradosh_thakur
		
			pradosh_thakur
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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
 
					
				
		
 olivierrobin
		
			olivierrobin
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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' ;
 
					
				
		
 yanivvl0
		
			yanivvl0
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		thanks Robin , i tried that but nothing happend .
in the exec log it looks like it do sometheing
but , AA REMAIN the same ..
 
					
				
		
 olivierrobin
		
			olivierrobin
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		are you sure file AA.XLSX is not in use by some process ?
 
					
				
		
 pradosh_thakur
		
			pradosh_thakur
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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.
 
					
				
		
 yanivvl0
		
			yanivvl0
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		hi Thakur , my Ver is 12.1 ,
i try to run it strait on the server but still - no good ..
.png) 
					
				
		
 Miguel_Angel_Ba
		
			Miguel_Angel_BaThe REN/RENAME command takes quotes " instead of single quotes ' for the file parameters.
 
					
				
		
 yanivvl0
		
			yanivvl0
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		yea , i'm sure ' its fictive file , its close , and nobody needs it.
 
					
				
		
 yanivvl0
		
			yanivvl0
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		OK Miguel - this is the thing - THANKS !!
