Home > Software engineering >  A problem in VBScript, warrior, please do me a favor, it is very simple
A problem in VBScript, warrior, please do me a favor, it is very simple

Time:10-11

Written in VBScript script, used in SecureCRT automatically, but you need to automatically perform commands special characters, such as (), "" and so on, how can automatic conversion,

Such as the need to input the following two commands in the SecureCRT:
(ABC), def (" 123 ", "456")

Are the requirements for writing the command in the script, don't need to do any modification on the original order, namely, fill out the commands in the script (), ABC is def (" 123 ", "456"), the script do-it-yourself conversion, so convenient batch input command,

I am a novice VB, mission requirements, just don't know the command in the parentheses, double quotes etc. How can the processing of intact

So please help warrior, for example processing

Cmdlist="ABC (), def (" 123", "456"), "

Cmd=Split (cmdlist, ", ")

CodePudding user response:

To use double quotation marks with two double quotation marks.

CodePudding user response:

I don't want to change the input, namely the commands in the script I still need to use the input command, because I command a lot and can change at any time, the original command is not doing translation, if I manually change the input, the more troublesome,

CodePudding user response:

Directly to the expression of don't understand what's the problem