ãã¹ã¿ã¼ãã¢ãããã«ï¼ä»äºããããããï¼æï¼åºç¤¾ããã ãã§ä»äºãé²ãä»çµã¿ä½ãï¼
ããªãã¯æ¯æï¼ä¼ç¤¾ã§ï¼ãã·ã³ã®é»æºãå ¥ããã
ãã®ãã¨ï¼ãã¤ãå®åã®ä½æ¥ããã¦ããªããï¼
- ã¡ã¼ã©ãç«ã¡ä¸ãã¦ï¼ç¹å®ã®åä¿¡ãã©ã«ããèªãã
- ãã©ã¦ã¶ãç«ã¡ä¸ãã¦ï¼ã¿ã¤ã ã«ã¼ãã®è¨é²ã¨ããããã
- ä½æ¥ãã©ã«ããéãã¦ï¼å³ã¯ãªãã¯ãï¼SVNãªã©ã®ãªãã¸ããªãææ°åããã
- åæ¥ã®ããã¸ã§ã¯ãã®é²æã確ããï¼ãã°ãçã¾ãã¦ããªãããã¡ãã¡ç¢ºèªããã
- ä»æ¥ã®ä½æ¥ã®TODOã確èªããããã«ï¼ããã¸ã§ã¯ãã®ç®¡çæ å ±ãéãã
ãããã¯æ¯æã決ã¾ãã®éç¨ãããããªãã
ãã®ãã¨ã§ï¼ããããæ¬æ¥ã®ä½æ¥ãå§ããããã
ãã®é ã«ã¯ï¼å°ãç²ãå§ãã¦ããã®ã§ã¯ãªããã*1
åºç¤¾æã®å®åä½æ¥ã¯ï¼ã¹ã¿ã¼ãã¢ããã®ã«ã¹ã¿ãã¤ãºã«ãã£ã¦èªååãã¦ãã¾ããã
ããããã°ï¼æ¯æï¼PCã®é»æºãå ¥ããã ãã§ï¼ä»äºãé²ããã¨ã«ãªãã
Windowsã®ã¹ã¿ã¼ãã¢ããã¡ãã¥ã¼ã«ï¼ç¬èªã®ããããç»é²ãã¦ããã°ããã
ï¼ï¼ï¼ã¹ã¿ã¼ãã¢ããå¦çããã
ã¹ã¿ã¼ãã¢ããã§å®è¡ãããå¦çãè¨è¿°ããã
ãã®ãããã®ä¸ã«å ¨é¨æ¸ãè¾¼ãã§ç·¨éï¼ç®¡çããããã«ããã°ï¼ãã¡ãã¡Windowsã®ã¹ã¿ã¼ãã¢ããã¡ãã¥ã¼ãããããªãã¦æ¸ãã
好ããªãã©ã«ãã«ç½®ãã¦ããã
my_startup.bat
@rem ãã®ããããåå¨ãããã£ã¬ã¯ããªãã«ã¬ã³ãã«ãã cd /d %0\.. @rem DBåæåï¼å帰ãã¹ãå®è¡ç¨ï¼ start /MIN cmd /c D:\dev\scripts\DBã»ããã¢ãã.bat @rem éçºç¨ãã©ã«ããéã start explorer D:\dev\project\src\ @rem SVNãªãã¸ããªãæ´æ° start /DD:\dev\project\ TortoiseProc.exe /command:update /path:. /closeonend:0 @rem IEã§ç¹å®ã®ãµã¤ããéã start iexplore http://www.google.co.jp/webhp?hl=ja @rem firefoxã§ç¹å®ã®ãµã¤ããéã start firefox http://www.google.co.jp/webhp?hl=ja @rem ã¡ã¼ã©ã¼ã§ç¹å®ã®ã¡ã¼ã«ãã©ã«ããéã start outlook /select outlook:åä¿¡ãã¬ã¤\ä½æ¥æ¥å ± @rem ã¬ã³ããã£ã¼ããéã copy /Y D:\dev\project\document\ã¹ã±ã¸ã¥ã¼ã«.xls D:\tmp\ã¹ã±ã¸ã¥ã¼ã«.xls D:\tmp\ã¹ã±ã¸ã¥ã¼ã«.xls @rem ãã¼ã«ã«ã§å帰ãã¹ããéå§ start cmd /c D:\dev\å帰ãã¹ãå®è¡.bat @rem å ±æãã©ã«ãã«æ¥ç¶ net use z: /delete net use z: \\192.168.1.1\hoge /user:ã¦ã¼ã¶å ãã¹ã¯ã¼ã
人ã«ãã£ã¦ã¯ï¼ãã®ãããã®ä¸ã«ã»ã»ã»
- VMã®ä»®æ³ãã·ã³ãèµ·åãã
- åæ¥ã«çºçããåºæ¥äºãä½ãããã°ã©ãåã»è¦ããåã¨ããã¦ï¼ãããã®ä½æ¥ã®æéã¨ãã
- æã®ã¡ã¼ã«ãéä¿¡ãã
ãªã©ãªã©ï¼æ§ã ãªãããããäºããè©°ãè¾¼ããã¨ãã§ããã ãããã¢ã¤ãã¢æ¬¡ç¬¬ã
ï¼ç¶ãä½æ¥ã«å¯¾ããããæ°ãåºãããããªãã®ãæ¸ãã¦ããã®ãè¯ããï¼
åèï¼
ã³ãã³ãã©ã¤ã³ããããã»ã¹ãèµ·åã»çµäºããæ¹æ³ãï¼ç°å¢å¤æ°ã¨ã¬ã¸ã¹ããªã«ã¤ãã¦ï¼
http://language-and-engineering.hatenablog.jp/entry/20081028/1225160338
- startã³ãã³ãã®æå³
- PATHã ãã§ãªãã¬ã¸ã¹ããªãæ¢ç´¢ãã
- å¥ããã»ã¹ã¨ãã¦èµ·åãã
- å¼ã³åºãå ãçµäºããåã«ï¼å¥ã¿ã¹ã¯ãé²ãããã¨ãã§ãã
- å¼ã³åºãå ãçµäºããæã«ï¼å¼ã³åºãå ãå¼·å¶çµäºãããããªãã¦æ¸ã
- start cmd /c ãããå¦çãã¨ããã°ï¼å¼ã³åºãå ã®ãããå¦ççµäºæã«ï¼èªåçã«å¼ã³åºãå ã®cmdãçµäºãã¦ããã
JavaScript ãã³ãã³ãã©ã¤ã³ã§å®è¡ããæ¹æ³ãã(mshta.exeã®ä½¿ãæ¹)
http://language-and-engineering.hatenablog.jp/entry/20081023/1224678990
Outlookã®èµ·åãªãã·ã§ã³ä¸è¦§è¡¨ï¼ã³ãã³ãã©ã¤ã³ã¹ã¤ããï¼
http://office.microsoft.com/ja-jp/out...
- â»selectãªãã·ã§ã³ã«é¢ããè¦åï¼http://support.microsoft.com/kb/823923/ja
ï¼ï¼ï¼æå¹åããã
ãããå®è¡ããã¨ï¼åé ã®ããããï¼ã¹ã¿ã¼ãã¢ããã«ç»é²ãããã
my_startupæå¹å.js
var ws = WScript.CreateObject("WScript.Shell"); // ã·ã§ã¼ãã«ãããä½æ var shortcut = ws.CreateShortCut("C:\\Documents and Settings\\ã¦ã¼ã¶å\\ã¹ã¿ã¼ã ã¡ãã¥ã¼\\ããã°ã©ã \\ã¹ã¿ã¼ãã¢ãã\\my_startup.bat ã¸ã®ã·ã§ã¼ãã«ãã.lnk"); shortcut.TargetPath = "D:\dev\scripts\my_startup.bat"; shortcut.Save(); WScript.Echo("ä½æãã¾ããã");
åèï¼
WSH(VBScript)ã§ã·ã§ã¼ãã«ããä½æ
http://www1.u-netsurf.ne.jp/~tomo_c/t...
ãªãï¼Vistaã®å ´åã¯ã·ã§ã¼ãã«ããä½æãã¹ãç°ãªãã
var shortcut = ws.CreateShortCut("C:\\Users\\ã¦ã¼ã¶å\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\my_startup.bat ã¸ã®ã·ã§ã¼ãã«ãã.lnk");
ï¼ï¼ï¼ç¡å¹åããã
ãããå®è¡ããã¨ï¼ã¹ã¿ã¼ãã¢ããã«ç»é²ããã¦ããç¹å®ã®ããããï¼ã¹ã¿ã¼ãã¢ããããåé¤ããã
my_startupç¡å¹å.bat
@rem ã·ã§ã¼ãã«ãããåé¤ @del "C:\Documents and Settings\ã¦ã¼ã¶å\ã¹ã¿ã¼ã ã¡ãã¥ã¼\ããã°ã©ã \ã¹ã¿ã¼ãã¢ãã\my_startup.bat ã¸ã®ã·ã§ã¼ãã«ãã.lnk" echo åé¤ãã¾ããã @pause
ä¸å¿ï¼ãã®ãããªåé¤ããããç¨æãã¦ããã
ãã¡ãã£ã¨ç¨äºã§åèµ·åãã¨ããæã«ï¼åèµ·åå¾ãã¡ãã¡ã¹ã¿ã¼ãã¢ããã¹ã¯ãªãããå®è¡ãããã®ã¯é¢åã ããã
ããããæã¯ãã£ããåé¤ã¹ã¯ãªãããèµ°ããã¦ããï¼åèµ·åãï¼ãã®å¾ï¼ï¼ï¼ï¼ã®ç»é²ããããå®è¡ãç´ãã
ã³ã¡ã³ã
ä¸åº¦ä½ã£ã¦ããã°ï¼åºç¤¾ãæ¯æã®ä»äºå§ãã®æé帯ã«å¯¾ãã¦ï¼ã¢ããã¼ã·ã§ã³ãä¿ã¡ãããã®ã§ã¯ã
追è¨
ãã¹ã¿ã¼ãã¢ãããã«ä»äºããããããã®è£è¶³ï¼ãå ±æãã©ã«ãä¸ã®ä½æ¥
http://language-and-engineering.hatenablog.jp/entry/20101005/p1
è£è¶³ï¼2012/10ï¼
ã¹ã¿ã¼ãã¢ãããå®è¡ããããã¨ã§ï¼ããããå®è¡ãã¦ããã³ãã³ãããã³ããã®ã¦ã£ã³ãã¦ãéãã¦ãããªãå ´åãããã
exitã³ãã³ããè¨è¿°ããã¦ããã«ããããããï¼ãã®è¡ã§CUIãåæ¢ãã¦ç¡åå¿ã«ãªã£ã¦ãã¾ãï¼DOSçªãçµäºããã«æ®ã£ãã¾ã¾ã«ãªãã
ãã®ç¾è±¡ã¯ï¼Firefox 16ãã³ãã³ãããã³ããããèµ·åããå ´åã«çºçããåé¡ãããã
Windows 7ä¸ã§åç¾ããã
Firefox 16 spamming Console (Mac) Bug?
http://forums.mozillazine.org/viewtop...
- Same issue on Windows with standard FF 16.0.1, where FF is started from a batch file.
Unidentifiable output
http://jpsoft.com/forums/threads/unid...
- If I do not start Firefox this way, and do a ctrl-c to stop the console output, it closes FireFox.
- If you start Firefox from TCC (or CMD.EXE), then as long as that instance of Firefox remains open, EXIT may not close the console window.
ã¹ã¿ã¼ãã¢ãããããã®exitè¡ã®å¾ã§ï¼ä¸è¨ã®ãããªãã°ãåºåããï¼DOSçªãéãã¦ãããªãã£ãã
D:\settings\startup>exit OS Determining best projection for type int (size: 4 ) signed OS Projected as a regular number OS Determining best projection for type unsigned_int (size: 4 ) unsigned OS Projected as a regular number OS Determining best projection for type long (size: 4 ) signed OS Projected as a regular number OS Determining best projection for type int (size: 4 ) signed OS Projected as a regular number OS Determining best projection for type int (size: 4 ) signed OS Projected as a regular number OS Determining best projection for type off_t (size: 4 ) signed OS Projected as a large signed integer OS Determining best projection for type size_t (size: 4 ) unsigned OS Projected as a large unsigned integer OS Determining best projection for type ssize_t (size: 4 ) signed OS Projected as a large signed integer OS Attempting to declare FFI CopyFileW OS Function CopyFileW declared OS Attempting to declare FFI CreateFileW OS Function CreateFileW declared OS Attempting to declare FFI DeleteFileW OS Function DeleteFileW declared OS Attempting to declare FFI FileTimeToSystemTime OS Function FileTimeToSystemTime declared OS Attempting to declare FFI FindFirstFileW OS Function FindFirstFileW declared OS Attempting to declare FFI FindNextFileW OS Function FindNextFileW declared OS Attempting to declare FFI FormatMessageW OS Function FormatMessageW declared OS Attempting to declare FFI GetCurrentDirectoryW OS Function GetCurrentDirectoryW declared OS Attempting to declare FFI MoveFileExW OS Function MoveFileExW declared OS Attempting to declare FFI ReadFile OS Function ReadFile declared OS Attempting to declare FFI RemoveDirectoryW OS Function RemoveDirectoryW declared OS Attempting to declare FFI SetCurrentDirectoryW OS Function SetCurrentDirectoryW declared OS Attempting to declare FFI SetEndOfFile OS Function SetEndOfFile declared OS Attempting to declare FFI SetFilePointer OS Function SetFilePointer declared OS Attempting to declare FFI WriteFile OS Function WriteFile declared
ã
*1:éã«ãéç¨ã«ãã£ã¦é ãåãã¦æ¥ããã¨ããå ´åãããããããï¼ããªãã¯ããããããããã§ã¯ãªãã®ã ããï¼ãããã£ãå®åä½æ¥ã§ã¯ãªãï¼ãã£ã¨ææ義ã§ç¥æ§ãæ±ããããä½æ¥ã«å¯¾ãã¦ãªã½ã¼ã¹ã使ãäºãå¯è½ãªã®ã§ã¯ã