简体   繁体   English

在资源管理器中查看此文件(在记事本中打开)

[英]View this file in Explorer (while open in notepad++)

I have file.txt opened in notepad++.exe 我在notepad ++。exe中打开了file.txt

This works with all filetypes (.xlsx .txt .tab .csv .pages .scrivener you get it) on OS X: 这适用于OS X上的所有文件类型(.xlsx.txt.tab.tab.csv.pages.scrivener):

  • I right click the file name using the app I'm in. (On notepad++ on windows, this would be right clicking on my file.txt file.) 我使用所在的应用程序右键单击文件名。(在Windows的notepad ++上,这将是右键单击我的file.txt文件。)
  • A menu pops up, showing me the path to that file. 弹出一个菜单,向我显示该文件的路径。 For example /dropbox/work/projectA/subfolderB/file.txt 例如/dropbox/work/projectA/subfolderB/file.txt
  • I choose a certain folder, for example the folder /projectA 我选择某个文件夹,例如文件夹/ p​​rojectA
  • That folder opens up in finder. 该文件夹在finder中打开。

I want to do this on windows 7. Extra important to do it in notepad++ with .txt-files, since those are part of my GTD-system. 我想在Windows 7上执行此操作。在记事本中使用.txt文件进行此操作尤为重要,因为它们是我的GTD系统的一部分。

The question is not at all clear about what you want. 问题根本不清楚您想要什么。

Having installed Notepad++ via the normal installer, you should be able to right-click on a file in Windows Explorer (or File Explorer) and select "Edit with Notepad++". 通过普通的安装程序安装了Notepad ++之后,您应该能够在Windows资源管理器(或文件资源管理器)中右键单击一个文件,然后选择“使用Notepad ++编辑”。 That allows any file to be viewed with Notepad++. 这样便可以使用Notepad ++查看任何文件。

The Notepad++ Run menu should contain an entry for Open containing folder that opens Windows Explorer at the folder containing the current file. Notepad ++ “运行”菜单应包含“ 打开包含”文件夹的条目,该文件夹可在包含当前文件的文件中打开Windows资源管理器。 This command shoul dbe in the file c:\\Users\\{UserName}\\AppData\\Roaming\\Notepad++\\shortcuts.xml . 该命令应位于文件c:\\Users\\{UserName}\\AppData\\Roaming\\Notepad++\\shortcuts.xml The shortcuts file on My Windows 7 computer contains the line 我的Windows 7计算机上的快捷方式文件包含以下行

<Command name="Open containing folder" Ctrl="no" Alt="no" Shift="no" Key="0">explorer $(CURRENT_DIRECTORY)</Command>

If you need to alter the shortcuts file then do not use Notepad++, use another editor. 如果需要更改快捷方式文件,则不要使用Notepad ++,而要使用其他编辑器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM