dan said:
> __ START __
> my $path = qq~C:\path\where\to\put\stuff~;
> open (WHATEVER,qq~>$path\filename.ext~) or die (qq~Can't open
> $path\filename.ext for writing : $!~);
> etc..
> close(WHATEVER);
> __ END __
> Note: untested, but i doubt anything can go wrong.

Might I suggest testing next time ;-)

> "Ankit Gupta" <[EMAIL PROTECTED]> wrote in message
> news:20021105140731.2786.qmail@;onion.perl.org...
>> Hi,
>>
>>  I have written script that makes lot of files but the problem is that
>> my
>> script stores all the files at the location from where the script is
>> run.
> I
>> have tried usingt chdir("c:\abc") in order to store all the files in
>> abc directory but its of no use and still it stores files in the
>> directory
> from
>> where the script is run.

Did you check whether the chdir succeeded?

Hint:  \a rings the bell.

-- 
Paul Johnson - [EMAIL PROTECTED]
http://www.pjcj.net




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to