vbs script add input box value to folder

Associate
Joined
24 Oct 2006
Posts
1,752
Location
Sheffield
so right i have

Code:
ts = InputBox("enter your foldername")

then i want the input from that to be added to the red bit below

WshShell.Run "C:HERE"

so say they entered ProgramFiles it would be

"WshShell.Run "C:\Program Files\"

so how do i make that get there i was thinking something like

"WshShell.Run "C:\%ts%"

basicly what do i wrap round ts ?
 
Back
Top Bottom