in reply to Cannot copy from network drive

Maybe I have missed something, I am very new to Perl, but if you are running this on an intel (non unix) you probably need to use a backslash \ instead of a forward slash /. You will also need to escape the backslash as you have on other places i.e. this my $infile = "C:/radtrans/doclisth.chr"; shoul be my $infile = "C:\\radtrans\\doclisth.chr";

Replies are listed 'Best First'.
Re: Re: Cannot copy from netowrk drive
by AcidHawk (Vicar) on Jun 09, 2003 at 19:00 UTC

    You can actually use a forward slash in paths on a non unix platform.. I personally find it neater than escaping all the \'s

    I think that this H:/APPS/ABCDE/DB/ABCDE/13/00004FE5.008

    looks better that this H:\\APPS\\ABCDE\\DB\\ABCDE\\13\\00004FE5.008

    -----
    Of all the things I've lost in my life, its my mind I miss the most.
Re: Re: Cannot copy from netowrk drive
by cbro (Pilgrim) on Jun 09, 2003 at 19:02 UTC
    This is not really answering the question because I think AcidHawk is correct. I do suggest, however, that you read this file tutorial mikevanhoff.

    Update:
    Acidhawk's post above was not there when I wrote this. I was agreeing with his/her post below. But, AcidHawk's post right above mine suggests what you will learn in the link to tachyon's file tutorial in my pre-update post. ++AcidHawk.