ã³ãã³ãããã³ããã®ã³ãã³ãã»ã¨ã¤ãªã¢ã¹
æ®æ®µpingæã¤ã¨ãipconfigè¦ãã¨ããããã«ãã使ã£ã¦ãªãã³ãã³ãããã³ãããå¤ç¨ããªããã°ãããªãã¨ãããlsãããpwdãã§ã¤ã£ãããã®ãçµæ§ã¹ãã¬ã¹ã«ãªãã¾ãã
doskey ls = dir
ãããªæãã§UNIXã§ããaliasãæå®ã§ãã¾ããããã®ããã³ãããçµäºããã¨è¨å®ãç¡å¹ã«ãªã£ã¦ãã¾ãã®ã§ã以ä¸ã®è§£èª¬ãã¼ã¸ãåèã«ã¬ã¸ã¹ããªè¨å®ãè¡ãã¾ããã
http://www.ne.jp/asahi/hishidama/home/tech/windows/cmd/cmd.html
ã¡ãã£ã¨ã ãèªåç¨ã«ã«ã¹ã¿ãã¤ãºããã®batãã¡ã¤ã«ã ã¨ãpwdãã§ãã£ã¬ã¯ããªç§»åã¨ãã§ãã¦ãã¾ããã§ãããå人çã«ã¤ãç¡æèã«ãpwdããæã¤çãããã®ã§ãç¡çãããªæãã§å ¥ãã¦ã¾ãã
- cmd_init.batã®ä¸èº«
@echo off doskey cat=type $* doskey history=doskey /history doskey ls=dir $* doskey pwd=cd $* doskey rm=del $*
- ã³ãã³ãããã³ããã§å®è¡
reg add "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v AutoRun /d c:\bin\cmd_init.bat