首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 编程语言 > Java > Open the windows explorer with a file selected in eclipse...
【标  题】:Open the windows explorer with a file selected in eclipse...
【关键字】:Open,the,windows,explorer,with,file,selected,in,eclipse...
【来  源】:http://blog.csdn.net/sky_shi/archive/2006/08/27/1128775.aspx

Open the windows explorer with a file selected in eclipse...

Summary: Create an external tool with location ${env_var:SystemRoot}\explorer.exe and arguments /select,${resource_loc} . Any selected file or directory can now be shown in the windows explorer.

How do I do that?

Create an new external tool:




(1) Create a new Program (select Program in the tree)
(2) name it shell
(3) set the location to ${env_var:SystemRoot}\explorer.exe
(4) the arguments to /select,${resource_loc}
(5) run it:



Note: If you are in the editor it will show the file you are currently editing in the explorer....

Note: If you don't run immediately, you should either add it to the favorites in the "External Tools" Menu, or run it once, then it will be added to the favorites.

How to share it between workspaces?



(1) You can share a launch configuration, by putting it into a project. It will create a file with the extension .launch.

(2) Here you can also add it to your favorites automatcally.

(3) And since we don't need output, we can don't need a console. 

 
UML-based workflow |wfmc|面向对象的概念:【上一篇】
面向对象编程:【下一篇】
【相关文章】
  • Java安全文章汇聚 http://www.blogjava.net/openssl/category/8296.html
  • Java认证大纲:SL-210 JMigrating to OO Programming with Java Technology 向Java面向对象编程技术的转变
  • the difference between malloc() and calloc()
  • 使用boost中的filesystem类库遍历某个目录所有的文件
  • Apache中预创建Preforking MPM 机制剖析(2)
  • Apache中预创建Preforking MPM 机制剖析(3)
  • String tpFile = "c:\\temp.htm
  • 智能指针(smart pointer):
  • Windchill系统下的数据库EXP/IMP操作
  • Solaris挂Windows分区以及中文文件名的问题
  • 【随机文章】
  • 闲话WPF之十九(WPF中的传递事件 [1] )
  • 动态数据交换的概念
  • Think in java 答案_Chapter 4_Exercise 5
  • VBScript和JavaScript 的比较
  • 让Gmail成为无限上传的网络硬盘
  • 30章C51学习教程介绍-----51单片机C语言试验教程
  • 微软面试题之一
  • BIOS自检与开机故障处理"大串烧"3
  • UNIX系统下各文件的作用(我来帮你修整,呵呵)
  • VS2003下编译Windows计算器
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.