If your doing this for a local html page, you can use JavaScript and ActiveX:
function getFile(filespec) {
var fso, f;
fso = new ActiveXObject("Scripting.FileSystemObject");
f = fso.GetFile(filespec);
return f;
}
Where filespec is an absolute or relative path to the specified file.
(Unless you set the current directory, the path will be relative to the
user's desktop)