When I execute the commands below in vbscript, I get
vbscript error 2147024894 - system cannot find the file
specified. (If I change "Test Company" to
"TestCompany", the script runs OK. I would prefer to
not have to do that.)
Note: The reason I included "1, TRUE" is so that the
VB6 Program I am executing will be allowed to
complete processing before the script continues.
Set WshShell = CreateObject("WScript.Shell"
WshShell.Run "C:\Test Company\vb6program.exe", 1, TRUE
I tried making the change shown below, and I got vbscript
error number 1044 - "Cannot use parentheses when calling
a sub.
WshShell.Run ("C:\Test Company\vb6program.exe", 1, TRUE)
Does anyone know how to make this work, without removing
the space in the path of program being called ?
vbscript error 2147024894 - system cannot find the file
specified. (If I change "Test Company" to
"TestCompany", the script runs OK. I would prefer to
not have to do that.)
Note: The reason I included "1, TRUE" is so that the
VB6 Program I am executing will be allowed to
complete processing before the script continues.
Set WshShell = CreateObject("WScript.Shell"
WshShell.Run "C:\Test Company\vb6program.exe", 1, TRUE
I tried making the change shown below, and I got vbscript
error number 1044 - "Cannot use parentheses when calling
a sub.
WshShell.Run ("C:\Test Company\vb6program.exe", 1, TRUE)
Does anyone know how to make this work, without removing
the space in the path of program being called ?