Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-07-2006, 06:44 PM   #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
PCBrandon is offline   Reply With Quote
Old 02-07-2006, 09:39 PM   #2
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
Are you talking about executing the VBS file on the client machine or the server machine?
faulkner132 is offline   Reply With Quote
Old 02-07-2006, 10:21 PM   #3
Member (9 bit)
 
Join Date: Dec 2004
Posts: 289
The server.
PCBrandon is offline   Reply With Quote
Old 02-08-2006, 07:55 AM   #4
Come in Ray...
 
faulkner132's Avatar
 
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.
faulkner132 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:04 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2