VBScript

De UnixWiki
Aller à la navigation Aller à la recherche

Print text

  Wscript.echo("text")

Write in a text file

  Set objFSO=CreateObject("Scripting.FileSystemObject")
  outFile="C:\Users\User\Desktop\Results.txt"
  Set objFile = objFSO.CreateTextFile(outFile,True)
  objFile.WriteLine variable