in reply to Re^3: Deleting a File
in thread Deleting a File

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^5: Deleting a File
by swampyankee (Parson) on Jun 20, 2007 at 03:26 UTC
    yea it gave me a permission deny...but the file is on my comp n i got admin permission

    Since you have admin permissions on your "comp", I'm concluding you're on a Windows machine. Presuming this is the case, you probably have complete permissions on the containing directory, so the denial of permission is probably because if the file is open, Windows will generally not permit it to be deleted. Explicitly close the file, and see if it can be deleted in that case. Also, make sure that the same file is being opened and unlinked; you may (probably will) have to use file's path, not just its name.

    emc

    Any New York City or Connecticut area jobs? I'm currently unemployed.

    There are some enterprises in which a careful disorderliness is the true method.

    —Herman Melville