鱼C论坛

 找回密码
 立即注册
查看: 5679|回复: 7

跪求如何将.asm文件用notepad++打开。。

[复制链接]
发表于 2012-11-14 21:01:39 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
跪求各位大神。。。是否要写入注册表?求教。。。搞了半个小时了。。次奥。。。。
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
 楼主| 发表于 2012-11-14 21:15:11 | 显示全部楼层
求大神。。。
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
发表于 2012-11-14 21:58:12 From FishC Mobile | 显示全部楼层
把asm文件拉到,那个编辑器的图标就好了
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
发表于 2012-11-14 22:17:40 | 显示全部楼层
就是啊,直接拉进去 或者右键 用notpad++打开 不就行了吗:loveliness:
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
发表于 2012-11-15 19:42:33 | 显示全部楼层
QQ截图20121115195103.jpg
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
发表于 2012-11-15 20:50:51 | 显示全部楼层
这不是长久之计呀
1.可以在运行里面输入   sendto指令 然后确认 会打开sendto文件夹  
2.再找到你的notepad++.exe  右键创建快捷方式
3. 然后把快捷方式 放在sendto文件夹里
4.以后每次 打开什么文件啊 可以右键该文件 发送到 然后选择 notepad++就可以打开了 其他程序类似操作呵呵
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
发表于 2012-11-16 16:35:49 | 显示全部楼层
本帖最后由 deaths_eyes 于 2012-11-16 17:28 编辑

设置->首选项->关联文件(选项卡)
然后把你要添加的 扩展名添加进去就行了

还有右键 .asm文件,属性里更改一下 打开方式
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
发表于 2020-7-7 17:41:52 | 显示全部楼层
Win+R
cmd
--------------------------------------------------
assoc .asm=AsmFile
ftype AsmFile="C:\Program Files\Notepad++\notepad++.exe" "%1"
--------------------------------------------------
Displays or modifies file extension associations

ASSOC [.ext[=[fileType]]]

  .ext      Specifies the file extension to associate the file type with
  fileType  Specifies the file type to associate with the file extension

Type ASSOC without parameters to display the current file associations.
If ASSOC is invoked with just a file extension, it displays the current
file association for that file extension.  Specify nothing for the file
type and the command will delete the association for the file extension.
--------------------------------------------------
Displays or modifies file types used in file extension associations

FTYPE [fileType[=[openCommandString]]]

  fileType  Specifies the file type to examine or change
  openCommandString Specifies the open command to use when launching files
                    of this type.

Type FTYPE without parameters to display the current file types that
have open command strings defined.  FTYPE is invoked with just a file
type, it displays the current open command string for that file type.
Specify nothing for the open command string and the FTYPE command will
delete the open command string for the file type.  Within an open
command string %0 or %1 are substituted with the file name being
launched through the assocation.  %* gets all the parameters and %2
gets the 1st parameter, %3 the second, etc.  %~n gets all the remaining
parameters starting with the nth parameter, where n may be between 2 and 9,
inclusive.  For example:

    ASSOC .pl=PerlScript
    FTYPE PerlScript=perl.exe %1 %*

would allow you to invoke a Perl script as follows:

    script.pl 1 2 3

If you want to eliminate the need to type the extensions, then do the
following:

    set PATHEXT=.pl;%PATHEXT%

and the script could be invoked as follows:

    script 1 2 3
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2024-9-28 23:24

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表