Código HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <link rel="stylesheet" href="ventana1.css" type="text/css" media="all"> </head> <body> <script type="text/javascript"> <!-- function crearCarpeta(){ var fso, f1; var ncarp = document.getElementById('nombre').value; var dirr = document.getElementById('dir').value; fso = new ActiveXObject("Scripting.FileSystemObject"); f1 = fso.createfolder('../usuario/'+dirr+ncarp); } // --> </script> <div style="position: relative; top: 0px; left: 10px"> <br>Dirección</br> <div style="position: absolute; top: 38px; left: 0px"><input type="text" size="0" value="C:/" readonly="true"></div> <div style="position: relative; top: 0px; left: 18px"><input type="text" size="71" name="dir" value="Escritorio/" onclick="this.select()"></div> <br>Nombre</br> <input type="text" size="74" name="nombre" value="Nueva Carpeta" onclick="this.select()"> <div style="position: relative; top: 0px; left: 366px"><a href="javascript: void(0)" onclick="crearCarpeta()" onmouseover="cr.src='../botones/crear2.png';" onmouseout="cr.src='../botones/crear.png';"><img name="cr" src="../botones/crear.png" alt="Crear" height="30" width="100"></div> </div> </body> </html>