var url = "C:/ECommerce/CpyOrder.bat"
var WindowName = 'Run_File';
var WindowOptions =
'width=400,height=200, left=180,top=80, toolbar=no, location=no, directories=no, status=yes, scrollbars=yes,resize=no,menubar=no';
window.open(url, WindowName, WindowOptions);
When I tried to open new window it said "Accessed is denied"
When I try open document in same window it said "Permission denied".