| |
<HTML>
<SCRIPT LANGUAGE="JavaScript">
function RemoveFile(sFullRemovePath)
{
IntraLaunch.DeleteFile (sFullRemovePath);
// Check if gone
var bDoesExist;
bDoesExist = IntraLaunch.DoesFileExist(sFullRemovePath);
if (bDoesExist == "False")
{ alert ('File successfully remove'); }
else
{ alert ('File could not be removed'); }
}
</SCRIPT>
<BODY>
<a href="Javascript:RemoveFile('c:\\path\\file.txt');">Delete File</a>
</BODY>
<OBJECT ID="IntraLaunch" STYLE="display : none" WIDTH=1 HEIGHT=1
CODEBASE="http://intranet.net/menu/IntraLaunch.CAB#version=5,0,0,0"
CLASSID="CLSID:0AE533FE-B805-4FD6-8AE1-A619FBEE7A23">
<PARAM NAME="ImageLoc" VALUE="Null">
<PARAM NAME="ImageSrc" VALUE="Null">
<PARAM NAME="Run" VALUE="Null">
<PARAM NAME="RunParms" VALUE="">
</OBJECT>
</HTML>
|
|