Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > executing a vbs script

Reply
Thread Tools

executing a vbs script

 
 
Michael Persaud
Guest
Posts: n/a
 
      04-23-2004
Hi,

I am trying to run a script. The script runs when u double click, but when i
try to use the below it doesnt run.


If X.Checked = True Then
'run script

filepath = Server.MapPath("test.vbs")
Label1.Text = "File path is:" & filepath
Process.Start(filepath)

End If

I also see in my task manager a number of wscript.exe

Pls Help

Thanks
MP


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Executing a VBS file from an ASP page p byers ASP General 4 03-12-2008 06:40 AM
need to perform this vbs script in java CTBFalcon Java 0 09-06-2006 01:52 PM
VBS script to backup Cisco configs thefunnel@aol.com Cisco 1 12-11-2005 06:04 PM
Email the user that a file size has changed with a VBS Script dleve50 Computer Support 0 04-29-2005 05:41 PM
Executing VBS file from ASP Cheung, Jeffrey Jing-Yen ASP General 0 08-29-2003 06:15 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57