Hi, there!
I have a database with a table that contains some .jpg files paths; the problem is that I want those paths to be RELATIVE to my site's directory (c:/inetpub/ The site is on a server; when the client clicked a "Delete picture" link I want an ASP that knows how to delete the pictures; the problem with the FileSystemObject is that its DeleteFiloe function needs an absolute path, but I want some kind of function that could delete the files given the RELATIVE paths;
Could you help me?
I have a database with a table that contains some .jpg files paths; the problem is that I want those paths to be RELATIVE to my site's directory (c:/inetpub/ The site is on a server; when the client clicked a "Delete picture" link I want an ASP that knows how to delete the pictures; the problem with the FileSystemObject is that its DeleteFiloe function needs an absolute path, but I want some kind of function that could delete the files given the RELATIVE paths;
Could you help me?