Windowsã§JScriptãå®è¡ãããã¨ããã¨ããWindows Scripting Hostããå©ç¨ãããã¨ã«ãªãã¾ãã ããããå ´åãèªåã§ãªã誰ãã¸æ¸¡ãã¦ãã³ãã³ãããã³ãããèµ·åãããcscriptã«ãã®ãã¡ã¤ã«ãå¼æ°ã«ãã¦ããã¨ããããå¼æ°ãâ¦ããªãã¦ãã説æãããªããã°ãªãã¾ããã å®ã¯BATãã¡ã¤ã«ã®ç¹æ§ã¨JScriptã®ä»æ§ãçµã¿åããããã¨ã§ã²ã¨ã¤ã®BATãã¡ã¤ã«ã«ãããã¨ãã§ãã¾ãã ãããããã¨ã§ãããã«ã¯ãªãã¯ãã¦ãããã ãã§ï¼è¨å®ã«ãã£ã¦ã¯ã·ã³ã°ã«ã¯ãªãã¯ã§ï¼å®è¡ãã¦ããããã¨ãã§ãã¾ãã ä½ãæ¹ä»çµã¿ã¯ããã£ã¦åç´ã§ãã 次ã®ããã«ããã°ããã®ã§ãã @if(0)==(0) echo off cscript //nologo /E:JScript "%~f0" %* goto :EOF @end WScript.echo("hello"); ã³ãã³ãããã³ã
{{#tags}}- {{label}}
{{/tags}}