Actually just booted up a machine to look, assoc is built in command but principal is the same... what I have put above should work OK to launch notepad and the like but if you want it to run as a batch file use either
batfile or cmdfile instead of txtfile... except on mine I then get "xxx.a is not a valid Win32 application" and "access is denied".
So not sure
Steve
Main Topics
Browse All Topics





by: dragon-itPosted on 2009-10-18 at 09:47:33ID: 25600450
Have you looked at assoc.exe?
Not sure if it would work for extensionless and can't try at the mo.
If it does I guess it would be:
assoc .=txtfile
and then
assoc .=
to remove it
Steve