flat assembler
Message board for the users of flat assembler.
 Home   FAQ   Search   Register 
 Profile   Log in to check your private messages   Log in 
flat assembler > Examples and Tutorials > Restoring FASMW .asm association in Win7

Author
Thread Post new topic Reply to topic
fasmnewbie



Joined: 01 Mar 2011
Posts: 421
Restoring FASMW .asm association in Win7
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


Powered by phpBB © 2001-2005 phpBB Group.

Main index   Download   Documentation   Examples   Message board
Copyright © 2004-2016, Tomasz Grysztar.