Hi,
I'd appreciate your help to elaborate a script syntax based on the condition:
if <curitem> has *.lnk extension, run command #4000
if <curitem> has any other extension, or is a folder, then run command #4001
Is this script viable? What would be the syntax?
Thank you very much!
Script if <curitem> is *.lnk run this command, if any other file extension or folder, run that...
Re: Script if <curitem> is *.lnk run this command, if any other file extension or folder, run that...
Code: Select all
if (exists(<curitem>) == 1 && gpc(<curitem>, "ext") LikeI "lnk") { #4000; }
else { #4001; }
One of my scripts helped you out? Please donate via Paypal
Re: Script if <curitem> is *.lnk run this command, if any other file extension or folder, run that...
Thank you very much @highend