dabor                   

  IT博客 :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  131 随笔 :: 0 文章 :: 97 评论 :: 0 Trackbacks

@echo off
rem -------------------------------
rem ep.bat (ep == explorer)
rem open current folder or file for window
rem
rem written by Dabor
rem -------------------------------
if "%1" == "" goto openCurFolder
rem open disk c(,d,e...)
rem -----------------------
if "%1" == "a" explorer %1:
if "%1" == "a" goto theEnd
if "%1" == "c" explorer %1:
if "%1" == "c" goto theEnd
if "%1" == "d" explorer %1:
if "%1" == "d" goto theEnd
if "%1" == "e" explorer %1:
if "%1" == "e" goto theEnd
if "%1" == "f" explorer %1:
if "%1" == "f" goto theEnd
if "%1" == "g" explorer %1:
if "%1" == "g" goto theEnd
if "%1" == "h" explorer %1:
if "%1" == "h" goto theEnd
if "%1" == "i" explorer %1:
if "%1" == "i" goto theEnd
if "%1" == "j" explorer %1:
if "%1" == "j" goto theEnd
if "%1" == "k" explorer %1:
if "%1" == "k" goto theEnd
if "%1" == "l" explorer %1:
if "%1" == "l" goto theEnd
if "%1" == "m" explorer %1:
if "%1" == "m" goto theEnd
rem open folder
rem ----------------------
if exist %1\nul explorer %1
rem open file or run file for win98 or winme
rem win2k or winxp directly open or run
rem ----------------------
if exist %1 start %1
goto theEnd
rem default open current folder
rem ----------------------
:openCurFolder
explorer .
:theEnd
posted on 2006-06-03 08:31 dabor 阅读(272) 评论(0)  编辑 收藏 引用 所属分类: 05 技巧会聚

每天10分钟,轻松学英语
专题:iPad  jQuery  Chrome OS
博客园首页  IT新闻  程序员微博  招聘频道  学英语
标题  
姓名  
主页
验证码 *
内容(提交失败后,可以通过“恢复上次提交”恢复刚刚提交的内容)
 
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
[使用Ctrl+Enter键可以直接提交]
Windows 7专题

相关链接: