Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Deleting specified files and directories

by Eureka_sg (Monk)
on May 14, 2001 at 12:11 UTC ( [id://80163]=note: print w/replies, xml ) Need Help??


in reply to Deleting specified files and directories

Hi , when you use unlink you need to specify the full pathname of the file, such as

 unlink "$basedir/$mesgdir/$file"

Check out this node Re: File Attributes in Win32 for my reply to a similiar problem : )

UPDATE: Put the pathname in double quotes. Thanks to MeowChow's reminder

Replies are listed 'Best First'.
Re: Re: Deleting specified files and directories
by Sadmachine (Novice) on May 14, 2001 at 12:36 UTC
    Thanks to everyone for the help. I'll add in all those things suggested. I don't want to be virtually tarred and feathered ;-) Thanks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://80163]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-25 05:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found