tan9p
V2EX  ›  Windows

windows 的 SmartScreen 的奇怪机制,求解惑。

  •  
  •   tan9p · Jul 10, 2019 · 3026 views
    This topic created in 2566 days ago, the information mentioned may be changed or developed.

    有一个可执行文件 platex-ng.exe,双击运行时,提示 SmartScreen 拦截,点击继续执行,可以正常运行。

    但是在命令行下,直接在其他路径运行 platex-ng.exe (已加入 PATH 路径),则没有反应;

    切换到 platex-ng.exe 的文件夹后,运行 platex-ng.exe ,可以正常运行;

    请问是何原因,如何处理?

    1 replies    2019-07-12 11:49:28 +08:00
    acess
        1
    acess  
       Jul 12, 2019
    未必是 smartscreen 的问题吧,有些程序本来就是要求在特定的工作目录下运行的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   862 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 21:51 · PVG 05:51 · LAX 14:51 · JFK 17:51
    ♥ Do have faith in what you're doing.