zoukankan      html  css  js  c++  java
  • Windows 的文件类型关联

    Windows 的文件类型关联
    如无法打开RUBY文件时:

    > assoc .rb
    File association not found for extension .rb

    如果没有关联,则给它一个相关的文件类型:
    > assoc .rb=rbFile

    接着测试文件类型是否存在:
    > ftype rbFile
    File type 'rbFile' not found or no open command associated with it.

    如果不存在,则手动建立:
    > ftype rbFile="E:"Program Files"Windows NT"Accessories"wordpad.exe" "%1" %*
    wordpad.exe(写字板)的路径自己定的.

    最后,把 .rb加入环境变量PATHEXT中。如:
    PATHEXT=.COM; .EXE; .BAT; .WSH; .rb
  • 相关阅读:
    CUDA和cudnn的环境变量设置问题
    zsh-Ubuntu更实用终端
    应用安全
    应用安全
    应用安全
    操作系统
    应用安全
    应用安全
    操作系统
    密码学
  • 原文地址:https://www.cnblogs.com/mill2002/p/1214233.html
Copyright © 2011-2022 走看看