Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > VBScript
|
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 21st, 2004, 08:03 PM
Registered User
 
Join Date: Nov 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kodakodu
Default Execute *.exe in vbs

Hi,
how can i execute an exe in VBS ?

Thx


Reply With Quote
  #2 (permalink)  
Old November 22nd, 2004, 03:33 AM
Authorized User
 
Join Date: Jul 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Set objApp = CreateObject("WScript.Shell")
objApp.run "path and program you want to run"

Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
execute an excel macro via a .vbs file ismailc VB.NET 2002/2003 Basics 1 January 11th, 2007 04:19 PM
Execute VBS files via ASP.NET (VB.NET) Mario_Steiner ASP.NET 1.0 and 1.1 Professional 0 November 9th, 2005 07:49 AM
execute exe file from web shinedas ASP.NET 1.0 and 1.1 Basics 1 November 9th, 2005 03:07 AM
.NET EXE won't run right in SHELL from VBS Ron Howerton General .NET 1 December 20th, 2004 05:49 PM
Calling a .exe or .vbs file from ASP komalac Classic ASP Basics 1 September 16th, 2004 03:04 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.