Use doskey to create alias

三月 13, 2008 @ 6:14 上午 | 发表在 Windows | 留下评论

doskey pluto-db = cd d:\code\pluto

put multiple aliases into a batch file so load them for the entire session.


Multiple command in a single line

三月 13, 2008 @ 6:12 上午 | 发表在 Uncategorized | 留下评论

Use & to concatenate multiple command in a single line. e.g.

xcopy a b & dir

How to turn any windows program to a windows service

三月 11, 2008 @ 6:13 下午 | 发表在 Windows | 一条评论

Often times you need to put a regular windows program into the service but don’t want to go through the hassle of implementing the service API. Or you simply don’t have access to source code. Luckily, the Windows NT/2000 Resource Kit provides two utilities that allow you to create a user-defined service. The two utilities are:

Instrsrv.exe and Srvany.exe

Entries评论 feeds.