Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Outputting results of an exe to a text file

by fidesachates (Monk)
on Apr 12, 2011 at 20:22 UTC ( [id://899048]=note: print w/replies, xml ) Need Help??


in reply to Outputting results of an exe to a text file

Like a *nix system, windows understands the > redirector. Add the "> text.txt" to the end of your command and the output will end up there.

Make sure you have paths set properly or use absolute paths.

Another solution is to call the exe in perl with backticks thus capturing the output into the perl script and then print the array into a file.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://899048]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2024-03-28 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found