Login | |
|
 |
RE: Calling a batch file with arguements through VBScript - 7/7/2008 9:24:58 AM
|
|
 |
|
| |
ebgreen
Posts: 5041
Score: 31
Joined: 7/12/2005
Status: offline
|
If you search for terms like .Run or Double quotes you should come across threads discussing the proper way to double quote .Run parameters.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Calling a batch file with arguements through VBScript - 7/8/2008 5:54:48 AM
|
|
 |
|
| |
ebgreen
Posts: 5041
Score: 31
Joined: 7/12/2005
Status: offline
|
Put this in to make sure you are getting the right value from excel: strGrp = objExcel.Cells(358,11).Value WScript.Echo strGrp objShell.Run("%comspec% /k \somepath & members "" & strGrp & """)
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
|
|