flat assembler
Message board for the users of flat assembler.

Index > Tutorials and Examples > Restoring FASMW .asm association in Win7

Thread Post new topic Reply to topic

Joined: 01 Mar 2011
Posts: 555
fasmnewbie 17 May 2017, 07:54
Win7 won't easily allow you to restore any file association back to FASMW for the second time. Just follow these steps;

1. Open new Command Prompt (as Administrator)
2. Type

prompt > ftype asmfile=YourFASMdir\FASMW.EXE %1
prompt > assoc .asm=asmfile

For example, if your FASM directory is in D:\FASMW, then it should be:

prompt > ftype asmfile=D:\FASMW\FASMW.EXE %1
prompt > assoc .asm=asmfile

"asmfile" is an alias of your own choosing.

But I don't know how to restore the icon. Involves tweaking the registry.

To delete any previous associations, just use null

prompt > ftype asmfile=
prompt > assoc .asm=

I think there're better solutions but this should do.
Post 17 May 2017, 07:54
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.