Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Deleting Files on NT

by gaggio (Friar)
on Jul 24, 2000 at 18:34 UTC ( #24074=note: print w/replies, xml ) Need Help??

in reply to Deleting Files on NT

Could you please show us your code?

It would then be much easier to solve your problem, as apparently you have access to the files.

It is also possible that you would only have a "Read-Only" access, so check it by doing this:

Win32::File::GetAttributes($file, $attrib);

Replies are listed 'Best First'.
RE: Re: Deleting Files on NT
by BBQ (Deacon) on Jul 24, 2000 at 18:51 UTC
    Do you really need a module for that? I've always used:
    -w # file is writable -r # file is readable -e # file exists
    Just those three usually cut it when I'm trying to do stuff on the filesystem. If anything more complex than just that is required, I go to stat().

    # Trust no1!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://24074]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2018-05-21 23:39 GMT
Find Nodes?
    Voting Booth?