Thanks, but I tried that. It works fine on the command line, but inside the VBscript, it puts nothing into the file. No error messages or anything, the script runs, but there is no output. If I remove the "> myfile.txt", the ping will display it's output on my terminal.