Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I want to check the size of the file, if it is greater than 100 MB then script should stop and if it is less than that limit than the other steps need to be trigger.
BELOW ERROR MESSAGE I AM GETTING:
********************************************
Script line error:
if (FileSize(C:\Users\Desktop\14th Apr 2017\Test14AprQVD.qvd)> 100000000))
*********************************************
My actual script is :
if (FileSize(C:\Users\ROKY\Desktop\6th Apr 2017\Main data Alliance\Alliance14AprQVD.qvd)> 100000000)
EXIT Script;
ENDIF
if (FileSize(C:\Users\ROKY\Desktop\6th Apr 2017\Main data Alliance\Alliance14AprQVD.qvd)< 100000000)
Do the rest of the step processing
Please help in this issue.
Thanks,
Rohit
If condition required two parameters like If(Sales >0, 1)
From your script, It showing one parameter called Filesize. What you want to do with this
Try this
if (FileSize(C:\Users\ROKY\Desktop\6th Apr 2017\Main data Alliance\Alliance14AprQVD.qvd)> 100000000) then
EXIT Script;
ENDIF
Hi,
Try below expression
if (FileSize('C:\Users\Desktop\14th Apr 2017\Test14AprQVD.qvd')> 100000000))
Indeed, the actual file name should be specified as a string, so put it between single quotes.