Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11971

Re: convert VBS line to VBA

From "Wendelin Uez" <wuez@online.de>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: convert VBS line to VBA
Date 2018-05-30 20:11 +0200
Organization albasani.net
Message-ID <pempl5$f1g$1@news.albasani.net> (permalink)
References <f79911ca-ebad-4aa7-a321-926fa0ca333f@googlegroups.com>

Show all headers | View raw


Hi Gerald,

simply  create a .bat file RUNTEST.bat in N:\TEST with one single command
\\site.com\srvr\Applications\SUB2\SUB3\FLDR\SysWOW64\wscript.exe 
N:\TEST\TEST.vbs
and excute this .bat file in a VBA script with
CALL SHELL ("N:\TEST\RUNTEST.bat",1)
or eventually  shorter with SHELL  "N:\TEST\RUNTEST.bat",1 what should also 
work (maybe this syntax requires a semicolon instead of a comma).

HTH,
wuez 

Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

convert VBS line to VBA gerald.bell@pnmac.com - 2018-04-27 06:46 -0700
  Re: convert VBS line to VBA gerald.bell@pnmac.com - 2018-04-27 06:48 -0700
  Re: convert VBS line to VBA gerald.bell@pnmac.com - 2018-04-27 07:14 -0700
  Re: convert VBS line to VBA "Auric__" <not.my.real@email.address> - 2018-04-27 14:43 +0000
    Re: convert VBS line to VBA JJ <jj4public@vfemail.net> - 2018-04-28 03:01 +0700
  Re: convert VBS line to VBA gerald.bell@pnmac.com - 2018-05-02 07:18 -0700
  Re: convert VBS line to VBA "Wendelin Uez" <wuez@online.de> - 2018-05-30 20:11 +0200

csiph-web