Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我使用 Emacs dired 时,它会打开 emacs 中的所有文件。如何使其执行.exe文件,在pdf查看器中打开pdf等。
所以它不能替代 Windows 资源管理器和总指挥官。
采用 !接下来是shell命令:
cmd /c 开始""
我自己不使用“dired”,但这表明您可以在文件上运行 shell 命令。
参考文献提到使用 & 或 ! 后跟 shell 命令以对一个或多个文件执行命令。
开始执行,如果尚未完成,请按control+ x d。选择要运行的文件,只需使用control+ n/导航到它p。按 & ENTER。希望您选择的文件应该在异步模式下运行。