I found one strange issue , if I use F: drive path to call script below it is showing general script error but If I comment this and run this script from D: drive path it is working fine . Could you please suggest what could be issue here.
//for each file in filelist('D:\QlikView\Development\Finance\#Source\Flatfiles\Sonne\Source\*')
for each file in filelist('F:\QlikView\Server\SourceDocuments\Finance\#Source\Flatfiles\Sonne\Source\*')
subfield(subfield('$(file)', '\' ,10),'.',1) as Sales_Year ,