- Jul
- 442
- 6
Add IsBatch to build-in Conditional expression tests like the IsAlias. Also consider a native function @batch[name] that performs a search and validation that a supplied file name is a batch file. Such as Batch=`%@if[%@ext[%@search[%1]] eq btm .or. %@ext[%@search[%1]] eq bat,1,0]`. This would allow entry of file names with or without extensions. Adding an INI directive to define what extensions are considered batch files. BATEXT=bat,btm would be good. example: %@batch[bathlp] yields a 1 for True and 0 for False.