I need to get a input from the user (string) and insert it in a cmd command,
Set oShell = WScript.CreateObject("WScript.Shell")
Set LabelName = WScript.CreateObject("WScript.Shell")
LabelName = InputBox("Please Enter Label to check-out:", _
"Create File")
oShell.run "cmd /K ""c:\Program Files (x86)\Borland\StarTeam Cross-Platform Client 2008 R2\stcmd.exe"" co -p bla:bla123@123.com:7777/bla/ -is -eol on -o -rp D:\ST_test -cfgl 3.1.006"
the input is "LabelName" and it should insert instead of the "3.1.006"
i can't manage to insert this variable, it keeps inserting LabelName instead of the value