You bet. This sample script worked when the file pointed to the C-drive. I changed it to point to the Z-drive which does not exist on the server I have VisualCron installed on.
I'm attaching a print screen of the task as it is configured in VisualCron in case I am doing something wrong. I also attached a print screen of the error I receive when I just double-click this script in Windows. In VisualCron the job runs successfully.
Thanks again for your help with this.
DIM fso, txtFile, txtoutFile
' Open the txt file for output
Set fso = CreateObject("Scripting.FileSystemObject")
' Output file with invalid drive
txtoutFile = "z:\GrandViewCollege_Dataload.txt"
Set txtFile = fso.CreateTextFile(txtOutFile, True)
txtFile.WriteLine ("This is a test")
txtFile.Close
twheeldon attached the following image(s):