|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Open a folder from an ASP file
<i><b>Originally posted by : Michael</b></i><br />I try to open the folder "C: estpath" from this code, but I can't get it work.<br /><br /><br /><%@ Language = VBScript %> <br /><% Option Explicit %> <br /><HTML> <br /><body> <br /><FONT SIZE="4" FACE="ARIAL, HELVETICA"> <br /><% <br />Dim wShell <br />Dim rtn <br />Set wShell = Server.CreateObject("WScript.Shell") <br />wShell.Run "command.com /c c:winntexplorer.exe c: estpath", 0, True <br />Response.Write "Specified folder should be open now." <br />%> <br /></body> <br /><HTML> <br /><br /><br />Has anybody a solution to the problem? Thanks<br />/Michael
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : werew (sdf@sdfs.com)</b></i><br /><br /><br /><br />------------<br />Michael at 7/3/2001 7:17:40 AM<br /><br />I try to open the folder "C: estpath" from this code, but I can't get it work.<br /><br /><br /><%@ Language = VBScript %> <br /><% Option Explicit %> <br /><HTML> <br /><body> <br /><FONT SIZE="4" FACE="ARIAL, HELVETICA"> <br /><% <br />Dim wShell <br />Dim rtn <br />Set wShell = Server.CreateObject("WScript.Shell") <br />wShell.Run "command.com /c c:winntexplorer.exe c: estpath", 0, True <br />Response.Write "Specified folder should be open now." <br />%> <br /></body> <br /><HTML> <br /><br /><br />Has anybody a solution to the problem? Thanks<br />/Michael
|
|
#3
|
|||
|
|||
|
<i><b>Originally posted by : Kevin Hatfield (kevin010@hotmail.com)</b></i><br />Is this code in an .ASP on your IIS server? If so, which "c:"" drive are you attempting to access and run applications on, the server or the client accessing the ASP? You'd have to use Active-X or Java to shell apps on the client side.<br /><br /><br /><br />------------<br />Michael at 7/3/2001 7:17:40 AM<br /><br />I try to open the folder "C: estpath" from this code, but I can't get it work.<br /><br /><br /><%@ Language = VBScript %> <br /><% Option Explicit %> <br /><HTML> <br /><body> <br /><FONT SIZE="4" FACE="ARIAL, HELVETICA"> <br /><% <br />Dim wShell <br />Dim rtn <br />Set wShell = Server.CreateObject("WScript.Shell") <br />wShell.Run "command.com /c c:winntexplorer.exe c: estpath", 0, True <br />Response.Write "Specified folder should be open now." <br />%> <br /></body> <br /><HTML> <br /><br /><br />Has anybody a solution to the problem? Thanks<br />/Michael
|
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Open a folder from an ASP file |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|