On 9/10/06, Jen Spinney <[EMAIL PROTECTED]> wrote:
On 9/10/06, chen li <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> When I run scripts  I want the result saved to a
> different directory instead of the current one on
> window xp. What is the code for this from the window
> promt(not within the script itself)?
>
> c:\>perl test.pl >1(this will save the result in the
> current directory.
> How about saving the result to c:/perl/self/?)
>
> Thanks,
>
> Li

Hi Li,

Google might help here:

http://www.google.com/search?q=output+redirection+dos

Does this:
c:\>perl test.pl > C:\perl\self\test.out
do what you want?

- Jen



Ah, it seems Rob beat me to it. :)

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to