Categories
How to direct the output of a VBS script to a file?
In the vbs script, the ShellExecute method starts a third-party program. It gives the result after running. How to redirect result from console to text file? The > method doesn't work.
Answer the question
In order to leave comments, you need to log in
Output redirection is a shell functionality. try this: command = "cmd /CC:\Program Files\Program\Test.exe /info > C:\log.txt"
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question