CODE: [Copy to clipboard]assoc .txt=txtfile ftype txtfile=%SystemRoot%\notepad.exe %1 assoc .exe=exefile ftype exefile="%1" %*