|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry 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
|
|||
|
|||
|
<i><b>Originally posted by : steve</b></i><br /><br />did you try putting the command inside a wsh file then launching the file? Does the id that your using have the proper permissions to set the calcs?<br /><br />------------<br />F.villaplana at 6/30/2001 7:32:49 AM<br /><br />I need change user's permis for any file or folder into server side from asp page....<br /><br /><br />My code is:<br /><br /><%<br />dim wsh<br />set wsh = Server.Createobject("WScript.Shell")<br />wsh.Run "cacls c:inetpubwwwrootasesdocasesdoc0FVM0000 /e /p fvm0000:f"<br />set wsh = nothing<br />%><br /><br />but it not work...<br /><br />in command line it is fine....Why?
|
|
#2
|
|||
|
|||
|
I cann't lunch 'cacls' from asp page for change permis
<i><b>Originally posted by : F.villaplana (fvilla@tsc.es)</b></i><br />I need change user's permis for any file or folder into server side from asp page....<br /><br /><br />My code is:<br /><br /><%<br />dim wsh<br />set wsh = Server.Createobject("WScript.Shell")<br />wsh.Run "cacls c:inetpubwwwrootasesdocasesdoc0FVM0000 /e /p fvm0000:f"<br />set wsh = nothing<br />%><br /><br />but it not work...<br /><br />in command line it is fine....Why?
|
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > I cann't lunch 'cacls' from asp page for change permis |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|