![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
hi, Have a problem that I have not been able to correct. Attempting to create a shell to run "C:\Program Files\Remote Control Viewer\RCViewer\isscntr.exe" - a"comp_name" -c"Remote Control" where comp_name is a string variable (i.e. LTDE562541 or PCDE845496 etc) the quotes are needed have been unable to create a string with the quotes, keep getting "unexpected end" am getting confusted with trying to get quotes within quotes To make a quote be a literal character instead of a string delimiter, you |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thanks used your info and made it work shelltxt = """C:\Program Files\Remote Control Viewer\RCViewer \isscntr.exe""" shelltxt = shelltxt & " -a""" & findit & """" & " -c""Remote Control""" Call Shell(shelltxt, 1) there are too many quotes to count, hard to even read on screen now know why I usually just use a .cmd file for most shell commands thanks again |
![]() |
| Thread Tools | |
| Display Modes | |
| |