in reply to Deleting a File in Windows
- Use forward slashes not back slashes in filenames
- Check return codes to be sure that system call was successful
unlink("C:/Users/deadpickle/file/to/delete") or die "Can't delete a fi +le\n";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Deleting a File in Windows
by Anonymous Monk on May 05, 2009 at 19:59 UTC |
In Section
Seekers of Perl Wisdom