Skip to content

Instantly share code, notes, and snippets.

@toagit
Created March 10, 2016 06:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toagit/b5d5a4dc715927eebacf to your computer and use it in GitHub Desktop.
Save toagit/b5d5a4dc715927eebacf to your computer and use it in GitHub Desktop.
必ずCscriptで動かすスクリプト
If InStr(LCase(WScript.FullName), "wscript") > 0 Then
WScript.CreateObject("WScript.Shell").Run("CScript """ & WScript.ScriptFullName & """ //Nologo " & WScript.Arguments(0))
WScript.Quit
End If
MsgBox WScript.Arguments(0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment