https://gist.github.com/teramako/9306751 ä»äºã§ãã£ã¹ã¯ä½¿ç¨çãæãã¦ããã£ã¦ããæãã®ä¾é ¼ãåãããã¨ãè¯ãããããã®é½åº¦Windowsã§ã¯ãã¤ã³ã³ãã¥ã¼ã¿ãéãããã£ããã£ç»åã¨ããéã£ã¦ãã£ãããã¦ããã®ã ããããå æ¸é£½ãã¦ããã ç»åãããªãã¦ãããã¹ãã§æ¬²ããã ãã©ã¤ãä¸è¦§ãå¾ãã³ãã³ã(diskpart ã® list volume)ã¨ã使ç¨éãè¦ãã³ãã³ã(fsutil volume diskfree)ã¨ãã管çè 権éãå¿ è¦ã«ãªã£ããããããåããã«ãã¤ãã¤ããªä½¿ãåæã ããUnixã©ã¤ã¯ãª df ã£ã½ãã³ãã³ãã欲ãããªã¨æã£ã¦ä½ã£ãã ããããã¡ã¤ã«ã ãã©ãJScript ã§ããã @if(0)==(0) ECHO OFF CScript //NoLogo //E:JScript "%~f0" %* GOTO :EOF @end s
{{#tags}}- {{label}}
{{/tags}}