Estoy haciendo una aplicacion en php y necesito abrir un directorio compartido en la red mediante un botón o enlace.
El servidor web está en Linux y los clientes Windows (Iexplorer y Firefox).
He probado con esto pero no me funciona:
Código:
<script language="javascript">
function shell(command)
{
RegWsh = new ActiveXObject("WScript.Shell");
RegWsh.Run(command);
}
</script>
.....
<input type="Button" value="Carpeta" onclick="javascript:shell(\'explorer.exe /e, \\192.168.1.115\articulos\);">