I want to check a file exist in folder. Below code is while i'm trying to many times is not working.
<!DOCTYPE html>
<html>
<head>
<script>
function Start()
{
var path = "X:\ApplicationFiles\Journals\TandF\RJHR\Vol00000\180008\ML\IProof\TF-RJHR180008.xml";
if (File.Exists(path))
{
document.getElementById("Stage").innerHTML = "exists";
}
}
</script>
</head>
<body>
<table border="1">
<thead>
<tr><th>Job ID</th><th>JID</th><th>Article ID</th><th>Intrnl ID</th><th>Due Date</th><th>Current Status</th></tr>
</thead>
<tbody>
<tr><td>T76825</td><td>RJHR</td><td>1445583</td><td>180008</td><td>01-Mar-18</td><td><p id="Stage"/></td></tr>
</tbody>
</table>
</body>
</html>