gespinoza Posted November 22, 2005 Share Posted November 22, 2005 Greetings Friends, I am trying to redirect the exit from a program to a text file, of the following form: RunWait(E:\script\LISTPRNT.EXE > E:\script\yo.dat)The same instruction in a file bat works correctly: E:\script\LISTPRNT.EXE > E:\script\yo.dat I have proven it of several forms, but in ningun case overturns the data towards the text file... Some suggestion?Thanks beforehand for its attention to my restlessness. Atte.Gonzalo Espinoza B.Consultor en InformáticaCel. (593-9) 619-4108Guayaquil - Ecuador Link to comment Share on other sites More sharing options...
Developers Jos Posted November 22, 2005 Developers Share Posted November 22, 2005 try: RunWait(@Comspec & " /c E:\script\LISTPRNT.EXE > E:\script\yo.dat") SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now