Hi Mustafa,

I have just tried as you suggested but unfortunately, it still dies 
not work! I hope that we have a way to do it!

Thanks
 
--- In [EMAIL PROTECTED], Mustafa "�Z�ET�N" 
<[EMAIL PROTECTED]> wrote:
> I am not sure whether it wil work but have you tried the "kill" 
statement?
>  
> Kill server.mappath("\database\myfile.mdb")
> 
> should work.
> 
> anhtruong52 <[EMAIL PROTECTED]> wrote:
> I have the myfile.mdb in sub-folder database, sometime I want to 
> delete it but after I do the following (correct location), it is 
> still there:
> 
> 
> set fs=Server.CreateObject("Scripting.FileSystemObject") 
> 
> set f = fs.GetFile("\database\myfile.mdb")
> f.Delete[True]
> 
> set f=nothing
> set fs=nothing
> 
> 
> Does anyone know how to do it differently?
> Thanks 
> 
>               
> ---------------------------------
> Do you Yahoo!?
> vote.yahoo.com - Register online to vote today!
> 
> [Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to