`
sunxboy
  • 浏览: 2883790 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

Explore specify folder via textpad

 
阅读更多

Now and then, when editing a file, I want to have the folder that contains the file also visible in a window. This small tutorial explains how you can add a tool to TextPad that uses the Windows Explorer program to open the parent folder of the currently active file in TextPad.

Note: TextPad already comes with an Explorer (Alt+F3) option in the Tools menu. However, since this tool lets you specify options to be passed to the Windows Explorer program or a program with similar functionality, you might want to read this tutorial.

Creating the Explorer tool

In order to create a new tool for TextPad, open the Preferences dialog window. You can do this by either pressing Ctrl+Q followed by P or select the Preferences... entry in the Configure menu of TextPad.

Preferences dialog of TextPad.
Preferences dialog of TextPad.

Select the Tools entry in the left part of the dialog window. Now the center part shows a list of Tools already defined, with an Add button to the right. Click the Add button, and select the "Program..." entry.

Select the explorer program in the Windows folder.
Select the explorer program in the Windows folder.

The "Select a File" dialog window is opened. The Explorer program is normally installed in the Windows folder of drive C, so first click on the "My Computer" icon in the left panel of the dialog window, open de Local Disk (C:), and then the Windows folder.

Select the explorer file, or if you have extensions visible (good idea), the explorer.exe file, and click on the Open button. You should now see an "Explorer" entry added to the tools in the Preferences dialog window of TextPad.

Configuring the Explorer tool

After the Explorer tool has been created in TextPad, it needs to be configured. First, make sure you press the Apply button. This adds the Explorer tool to the Tools in the left pane of the Window but leaves the Preferences dialog window open.

Next, click on the plus sign in front of "Tools" in the left pane of the Preferences dialog window. The Explorer tool should appear under Tools. Select the Explorer entry.

Parameters of the Explorer tool.
Parameters of the Explorer tool.

Finally, insert in front of the $File parameter in the Parameters field the following:

/select,

so the entire entry of the Parameters field reads:

/select,$File

and click on the OK button. The /select parameter opens the parent folder of the file, and selects the file itself, which might come in handy in many cases.

The Explorer tool now has been added to the Tools menu of TextPad, and has the shortcut key Ctrl+1 assigned to it. See the end of the Using Subversion via TextPad article on how to change the shortcut key and some other useful tips.

分享到:
评论

相关推荐

    Easy_Explore

    在实际使用中,一旦用户在Eclipse的项目浏览器或者编辑器中选中一个文件,Easy_Explore会提供一个快捷操作,比如右键菜单中的“Open Containing Folder”,点击后,该文件所在的整个目录结构将在操作系统的文件管理...

    explore2fs.exe

    《探索Linux分区:Windows下的explore2fs工具详解》 在跨平台的系统管理中,尤其是在Windows系统上处理Linux磁盘分区时,我们经常会遇到一个挑战:如何方便地浏览和操作Linux文件系统。这时,一个名为"explore2fs....

    ext2explore绿色版

    EXT2explore是一款实用工具,特别为Windows操作系统设计,用于浏览和访问EXT4文件系统,这是Linux操作系统中常见的文件系统格式。EXT4是Linux内核的第四代扩展文件系统,它在性能、可靠性和可扩展性方面有显著提升,...

    ext2explore.zip

    【标题】"ext2explore.zip" 是一个包含ext2explore工具的压缩包,它主要用于查看和浏览img格式的文件。ext2explore是一款实用的文件系统浏览器,专门设计来帮助用户探索Linux的ext2、ext3和ext4文件系统。 【描述】...

    explore2fs.rar

    《探索Linux文件系统:explore2fs工具在Windows中的应用》 在当今的数字化时代,Linux和Windows操作系统各自占据着重要的地位。Linux以其开源、稳定和高效的特点在服务器领域广泛应用,而Windows则以其用户友好性在...

    HA-explore2fs-1pre6b.rar

    标题中的"HA-explore2fs-1pre6b.rar"是一个RAR格式的压缩包,它包含了一个名为"explore2fs"的工具,这是一款专为Windows用户设计的软件,用于浏览和探索Linux文件系统。这个版本是1pre6b,意味着它是1.0版本之前的第...

    simg2img和ext2explore

    本文将详细介绍如何利用`simg2img`和`ext2explore`这两个工具来处理和提取Ext4文件系统中的数据。 `simg2img`是一个实用程序,专门用于将.simg(通常是Android系统的扁平化二进制块映射文件)转换为更通用的.img...

    HFS Explore

    【HFS Explore】是一款专为Mac操作系统设计的文件系统探索工具,它允许用户在Mac上对HFS(Hierarchical File System)格式的磁盘映像进行浏览、读取和管理。这款软件对于那些需要处理HFS格式文件的用户,尤其是需要...

    easy explore插件(用于eclipse)

    "Easy Explore"是一款专为Eclipse集成开发环境设计的插件,它的主要功能是帮助开发者快速定位项目中的文件目录,极大地提高了工作效率。在处理大型、结构复杂的工程项目时,寻找特定文件通常是一项耗时的任务,而...

    ext2explore-2.2.71

    《在Windows系统中使用ext2explore访问Linux分区详解》 在现代计算机环境中,Linux和Windows系统的共存已经成为常态,而跨平台的数据交互也日益频繁。对于习惯于Windows操作系统的用户来说,如何在Windows系统中...

    IBM MQ Explore windows下安装包

    IBM MQ Explore是一款强大的工具,专为管理IBM WebSphere MQ(以前称为IBM Message Queuing或IBM MQ)环境而设计。在Windows环境下安装IBM MQ Explorer,可以帮助系统管理员和开发人员监控、配置和管理IBM MQ队列...

    HA-explore2fs-1pre6b.rar_HA-explore_HA-explore2fs_HA-explore2fs-

    《在Windows系统中利用HA-explore2fs工具查看Linux分区》 在当今多操作系统共存的环境中,有时候我们需要在Windows系统下访问或管理Linux分区的数据。HA-explore2fs工具便是一个为此目的而设计的强大软件,它使得...

    explore2fs v1.00

    《探索Linux文件系统:explore2fs v1.00在Windows XP下的应用》 在IT行业中,跨平台操作是常见的需求,特别是在处理文件系统时。Linux和Windows作为两大操作系统,各自有着不同的文件系统结构。当需要在Windows环境...

    sogou explore

    it is a good internat explore

    ext2explore 2.2.71

    Ext2explore is an easy to use application designed to be an explorer like utility to explore ext2 / ext3 files.

    explore2fs

    "explore2fs"是一款专为Windows用户设计的工具,它允许用户在Windows环境中便捷地访问和探索Linux文件系统。这个实用程序对于那些在多操作系统环境中工作或需要跨平台操作的用户来说尤其有用。了解"explore2fs"的...

    Adobe Flex 3 Component Explore

    Adobe Flex 3 Component Explore 是一个专门针对Flex 3框架的学习和参考工具,它为开发者提供了一个直观的平台来探索和理解Flex组件的使用和功能。Flex 3是Adobe开发的一个开源框架,主要用于构建富互联网应用程序...

    打开视频文件夹出现explore.exe错误故障的解决方法

    ### 打开视频文件夹出现explore.exe错误故障的解决方法 #### 故障现象描述 用户在尝试打开含有视频文件(如AVI、WMV、MPEG等格式)的文件夹时,会遇到系统弹出错误对话框,提示“explore.exe遇到问题需要关闭”。...

    explore2fs Windows下查看Linux分区工具

    explore2fs Windows下查看Linux分区工具 如果你安装了双系统或者将Linux分区挂在Windows下查看 explore2fs可以满足你的要求 可以随意查看和复制Linxu分区文件 在Redhat9上使用没有问题,其他Linux只要...

Global site tag (gtag.js) - Google Analytics