On Fri, 11 Jul 2003 10:16:46 +0200, [EMAIL PROTECTED]
wrote with regard to: AW: Problem Using 'unlink' within Script:
> I think, the problem is: the difference between the end write of a file,
> and the time in the file to the system is known (and the system the access
> throu
> > A dumb question (and I'm reachin, here):
> >
> > Perhaps you need to Close() or Quit() your $Word object before you try
to
> > unlink the file? If you are able to "del" the file from CMD.exe after
the
> > script has run, but not during, I would look at what objects might still
> > retain floc
<[EMAIL PROTECTED]>; "Arms, Mike" <[EMAIL PROTECTED]>
Cc: "Perl-Win32-Users" <[EMAIL PROTECTED]>
Sent: Friday, June 13, 2003 11:52 PM
Subject: RE: Problem Using 'unlink' within Script
> A dumb question (and I'm reachin, here):
>
> Perh
On 13 Jun 03, James E Keenan ([EMAIL PROTECTED]) wrote:
> 6. Now believe problem stems from *how* the target file was originally
> created. It was created by opening a Microsoft Word file and saving it as a
> plain-text document.
>
> my $Word = Win32::OLE->new('Word.Application', 'Quit');
>
Thanks to everyone who wrote concerning my problem unlinking a file from
within the script where it was created. Between the time I posted and the
time I got your responses, I had already tried out some of the things you
suggested. Unfortunately, the problem seems more complex and I haven't
solve
On 10 Jun 03, Maraglia, Dominicx ([EMAIL PROTECTED]) wrote:
> my $tmpfile = "H:/topdir/mediumdir/plaintext.txt";
>
> I had a similar problem with "escaped" backslashes with AS Perl on win2k -- I
> switched to using the "/" and all unlinking has worked fine after that.
Or use single quotes 'H:\to
Title: RE: Problem Using 'unlink' within Script
Hmm... I use 5.6.1 (635) on W2k and use unlink with escaped slashes "\\" all the time. Odd.
-Original Message-
From: Maraglia, Dominicx [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 10, 2003 3:43 PM
To: James
ssage-
> From: James E Keenan [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 10, 2003 2:37 PM
> To: Perl-Win32-Users
> Subject: Problem Using 'unlink' within Script
>
>
> On my job I have written a script which creates a plain-text file in a
> directory on
On my job I have written a script which creates a plain-text file in a
directory on a network server for which I have permissions (Win2K
Professional, Novell Network). Since the file is only intended to be
temporary, I wish to delete the file at the end of the script. Hence, my
code:
my $tmp