Anyone know much about vbscript? I'm running a shell script from a vbs file to redirect output to a log file
ie.
Set v_obj_shell = CreateObject("Wscript.Shell")
v_result = v_obj_shell.Run("command thingy > "some file.txt"", 0, True)
When I save the command I'm running to a text file and copy and paste it to the command line it works as expected and outputs the log file I'm after but when I run it from within the vbs I don't get a log file. Any thoughts on why this might be the case?
|