Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: file extension association associated application
E&xtension filename = CurrentFile() ext = FileExtension(filename) errormode(@off) locate= RegQueryValue(@REGCLASSES, strcat(".",ext)) errormode(@Cancel) if lasterror()==1452 ;unable to locate sub key message(strcat(StrUpper(ext)," is associated with"),"NOTHING") exit endif app = RegQueryValue(@REGCLASSES,strcat(locate,"\shell\open\command")) message(strcat(StrUpper(ext)," is associated with"),app)
Article ID: W14850
File Created: 2001:11:08:12:40:24
Last Updated: 2001:11:08:12:40:24