system("dir") //It will return the exit code of the command; its output (if any) will be lost. print system$("dir") //Returns the output as a large string.