摘要: 今天打算用Powershell实现对一个目录下的指定文件进行批量重命名。比方说把所有图片文件的前缀image都给去了。 dir –fil *.jpg -rec| foreach {$_.name.replace (“image ”,””)} 阅读全文
posted @ 2009-08-21 02:30 卜海清 阅读(316) 评论(0) 推荐(0)
摘要: 最近在学习Powershell,今天学习到用match命令作文字的匹配。比方说: type person.cs | where {$_–match ‘name’} 结果输出就会是把文件里所有的name输出到命令行上。 COOL! :)但我的问题来了,如何能区分大小写,比方说我想只输出Name而不包括name.这就要用到cmatch,意思就是Case sensit... 阅读全文
posted @ 2009-08-21 02:16 卜海清 阅读(891) 评论(0) 推荐(0)
摘要: 原文链接: http://www.methodsandtools.com/archive/archive.php?id=4  Refactoring is a powerful technique for improving existing software. Having source code that is understandable helps ensure a syste... 阅读全文
posted @ 2009-06-11 17:11 卜海清 阅读(298) 评论(0) 推荐(0)
摘要: 决定在以后开始对Microsoft 的Sharepoint Server技术进行学习。 今天看到一个技术路线图: http://msdn.microsoft.com/en-us/library/ms561082.aspx  收藏之。。。     阅读全文
posted @ 2009-05-22 20:11 卜海清 阅读(172) 评论(0) 推荐(0)
摘要: http://learning.microsoft.com/Manager/Catalog.aspx?clang=en-US&dtype=Table&Sort=PublicationDateDescending&page=1&cats={bf0ebdd7-5d74-479a-b01e-d7b141200243}%3a{6527a674-9d67-40b8-a94c-... 阅读全文
posted @ 2009-05-14 17:35 卜海清 阅读(164) 评论(0) 推荐(0)
摘要: 今天在思考如何在VB 2008里引入partial method呢? 发现原来不是什么方法都可以声明成partial method的。 The definition must meet the following conditions: The method must be a Sub, not a Function. The body of the ... 阅读全文
posted @ 2009-03-11 16:50 卜海清 阅读(262) 评论(0) 推荐(0)
摘要: 最近在一直的练习用VB。NET来书写程序。在VB中加入一个app.config文件,会有自动帮你生成一段关于Log output的配置,具体请看 ... 阅读全文
posted @ 2009-03-10 10:39 卜海清 阅读(434) 评论(0) 推荐(0)
摘要: In Microsoft Office Word, on the View tab, in the Window section, click Split. This splits the screen and displays a dividing line in the current window. To switch between the screens, use the F6 key. 阅读全文
posted @ 2009-02-17 12:26 卜海清 阅读(183) 评论(0) 推荐(0)
摘要: 具体请参看: http://msdn.microsoft.com/en-us/library/ydh6b3yb.aspx 阅读全文
posted @ 2009-02-07 11:25 卜海清 阅读(233) 评论(0) 推荐(0)
摘要: 今天看到一个介绍Snippet editor的视频 : http://billmccarthy.com/Projects/Snippet_Editor/screencast.html 阅读全文
posted @ 2009-02-07 10:01 卜海清 阅读(242) 评论(0) 推荐(0)