【问题标题】:Set file association from batch file从批处理文件设置文件关联
【发布时间】:2011-12-18 16:24:27
【问题描述】:

我想从批处理文件中设置文件关联。我想将 .pdf 文件与 foxitreader 相关联。问题是我有 foxitreader 便携版,所以它没有任何注册表项。我已经搜索过,但没有关于如何做和使用什么语法的清晰解释。

【问题讨论】:

    标签: file batch-file file-association


    【解决方案1】:

    使用批处理,使用以下命令:

    ftype Foxit.Document=<replace with foxit full path name>
    assoc .pdf=Foxit.Document
    

    但使用“打开方式”、“选择程序”和“始终使用该程序”会更方便。

    【讨论】:

      猜你喜欢
      • 2010-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-02-26
      • 1970-01-01
      相关资源
      最近更新 更多