HTML, JavaScript And CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingHTML, JavaScript And CSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
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  
Old June 30th, 2001, 02:04 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
<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?

Reply With Quote
  #2  
Old June 30th, 2001, 09:32 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,578 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
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?

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingHTML, JavaScript And CSS Help > I cann't lunch 'cacls' from asp page for change permis


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway