Re: Files at different location

2002-11-06 Thread Paul Johnson
dan said: > well i could spend ample amount of time testing code for someone else. > like everyone else here, i'm only offering suggestions on how a problem > can be overcome. seriously, if someone is trying to create a perl > script, they'll have at least some knowledge in perl on how to fix > er

Re: Files at different location

2002-11-05 Thread LRMK
use this open (FILE _HANDDLE,'>c:\abc\abc.abc'); - Original Message - From: "Ankit Gupta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 5:07 AM Subject: Files at different location > Hi, > > I have wr

Re: Files at different location

2002-11-05 Thread LRMK
use this open (FILE _HANDDLE,'>c:\abc\abc.abc'); - Original Message - From: "Ankit Gupta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, November 06, 2002 5:07 AM Subject: Files at different location > Hi, > > I have wr

Re: Files at different location

2002-11-05 Thread dan
well i could spend ample amount of time testing code for someone else. like everyone else here, i'm only offering suggestions on how a problem can be overcome. seriously, if someone is trying to create a perl script, they'll have at least some knowledge in perl on how to fix errors if something isn

Re: Files at different location

2002-11-05 Thread Paul Johnson
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 ti

Re: Files at different location

2002-11-05 Thread dan
__ 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. give that a go. dan "Ankit Gupta" <[EMAIL PROTECTED]> wr

Files at different location

2002-11-05 Thread Ankit Gupta
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