|
wizard_oz -> Delete file from my host (9/7/2006 12:24:37)
|
Hi, I would like to delete a file from my host. The code: set objFSO=server.CreateObject("Scripting.FileSystemObject")
objFSO.DeleteFile "C:\Inetpub\wwwroot\magenli\Pictures\SinglePage\" & rs("CategoryPic")
is working fine but I would like to delete the file from relative directory and not from an absolute. the problem is, if i am using : objFSO.DeleteFile "../Pictures/SinglePage/" & rs("CategoryPic") it doesn't work, Can someone help me? Thanks, Elen
|
|
|
|