Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/08/2009, 02:08
PepitoVadeCurt
 
Fecha de Ingreso: julio-2009
Mensajes: 46
Antigüedad: 15 años, 9 meses
Puntos: 0
Abrir directorio compartido

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\);">