|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: Dec 2004
Posts: 289
|
Execute VBS file
I need to be able to execute a VBS file from a website preferably with ASP. Normally I'd go to a command prompt and enter: cscript ResetPword.vbs AccountName, NewPassword
Any ideas? Thanks!
__________________
Dell Inspiron 9300 Intel Pentium M 740 17" Wide Screen XGA+ Display 1GB PC-4200 Dual Channel DDR2 256MB NVIDA GeForce Go 6800 Apple MacBook (Black) Intel Core 2 Duo 2.16 Ghz 13" Wide screen Display 2GB Memory |
|
|
|
|
|
#2 |
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
Are you talking about executing the VBS file on the client machine or the server machine?
|
|
|
|
|
|
#3 |
|
Member (9 bit)
Join Date: Dec 2004
Posts: 289
|
The server.
|
|
|
|
|
|
#4 |
|
Come in Ray...
Join Date: Sep 2004
Posts: 1,668
|
What I've done in the past to do something similar to this is when the user presses a button on a form, it creates a text file in a folder. I have a scheduled process on the server which runs every 15 minutes looking for that file. If it finds it, it runs the script and deletes the temp file.
Not elegant, but it works. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|