Using the "character in a be executed the command (EMM)

Hello

I ran against a little challenge construction of a function on a menu based EMM.

I would like to have a user to change the number dialed in a chat script, but the script of cat command uses the character "in his order.

The same character "is also used to mark the beginning and the end in the and the .

When the execution of the function, it gives an error message indicating return: TCL EMM error: extra characters after the end-winding

Which is weird because there are a lot of "in the command line and, normally, you can put multiple lines in a single ExecCommand command - or ConfigCommand line to mark the beginning and end of a single line of command."

"According to the script language TCL, you can write the character"-"or -" but neither one of them circled to make it work.

The ConfigCommand I want to run looks like this:

"no internet chat script" "internet chat script ' ' ' ATDT * 98 * 2 #" TIMEOUT 60 CONNECT»

Does anyone have an idea how to solve this problem?

I'm just stuck with it.

Kind regards

Jorn van Riel

Instead of using IOSConfigCommand, use EmbeddedTCL.  For example:

ios_config "no chat-script internet" {chat-script internet "" "ATDT*98*2#" TIMEOUT 60 CONNECT}

Tags: Cisco Network

Similar Questions

  • Problem: Using the command 'msg' with 'system Exec.vi.

    I try to write to the LabView code that takes advantage of the 'Exec.vi System '. For the moment, I have tried to use it to ping machines, return the command ipconfig and run through the code example that provides NEITHER.

    I would use the "msg" command used on Windows operating systems to send a message to several machines on our network at a time. Warning that we're about to update a program and that they should disconnect, things like that.

    I tried to use the command 'msg' LabView maintains return errors. I also wrote a quick command as follows file:

    @echo we
    CD c:\Windows\System32\
    Msg.exe /server:localhost * test

    When I run the batch of windows, it runs. When I launch from LabView (using the Exec.vi system), it fails.

    Potential quirks:

    I discovered in a different place under a machine to receive these messages they need to have a registry entry:

    "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" and have a DWord value called "AllowRemoteRPC' = 1.

    Note that "/ Server: localhost" might be "/ server: anycomputer" and the "*" is used as a wildcard character that sends a message to anyone who is connected to this computer. Also note that the 'test' is the message to send.

    Any ideas why I'm having a problem?

    TL; Dr.: "System Exec.vi" does not have the command "msg". Why is this?


  • Business rule to launch using the command line

    I tried lauching business rule by using the command line utility CalcMgrCmdLineLauncher.cmd. The syntax I used is \Planning\planning1 > CalcMgrCmdLineLauncher.cmd A:Samp U:admin D:PL /R:AGGR F:Agg.xml. I get the following error when executing the command-

    FATAL error: Cannot run getRTPs(). Cannot find the rule AGGR deployed in the type of plan PL in the repository
    com hyperion.calcmgr.common.CalcMgrODLLogger logServereMsg

    I selected the correct application of planning in the locations tab and assigned administrator privileges on the tab of the business rule access privileges. I followed all the instructions in the link - http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/frameset.htm?ch06s09s05.html to run BR by command line.

    Please let me know the reason for this error...

    No, you can use the CmdLnLauncher utility located in the installation of Regional service directory, it will be under eas\console\bin

    To get instructions on how to use it, then take a look on-- can not run business with bat file rule

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Help with columns of FIXED LENGTH - using the command of the coil

    Hi guys,.
    I have a vision I try to be wound using columns of fixed length, and the spacing is off. Ive tried many things like specifying the width of the column before executing the query, using the command rpad, but nothing seems to work. I have the coil in a text file so that users to import this file into another system. I'd appreciate any suggestions. Thank you very much. What follows is the view:

    SELECT 'Employe_id', 'FIRST NAME', 'INITIAL', 'NAME', 'SUFFIX', ' TRAINING ', 'Class ID', 'Class ID', 'We', "make / model ', 'Cali', 'Barrell', 'Serial number', 'Qualification', 'Application', 'SCORE', 'Status', 'add a time', 'Add a record ID', 'Add a record Date', ' change record ID ',' save the modified Date ', 'RN' OF
    (SELECT
    Upper (RPAD (tbl. SSN, 10)) AS "Employe_id."
    UPPER (RPAD('',12)) AS "FIRST NAME."
    UPPER (RPAD('',1)) AS "ORIGINAL."
    UPPER (RPAD('',20)) AS "LAST NAME,"
    UPPER (RPAD('',5)) AS "SUFFIX."
    SUPERIOR (RPAD (to_char (QUALDATE, 'MMDDYYYY'), 8)) AS 'DATE OF TRAINING. "
    Upper (RPAD('P123',8)) AS "Course ID"
    Upper (RPAD('',6)) AS 'class ID ',.
    Upper (RPAD ('P', 4)) AS '' We. ''
    Upper (RPAD('',4)) AS ' make / model.
    Upper (RPAD('',4)) AS "Cali,"
    Upper (RPAD('',7)) AS "Barrell."
    Upper (RPAD('',15)) AS "serial number."
    Upper (RPAD('A',4)) AS "Qualification."
    Upper (RPAD('D',4)) AS "Application."
    TO_CHAR ((RAWSCORE/250) * 100, "fm000.00") "SCORE".
    Upper (RPAD('PASS',4)) AS 'Status. "
    Upper (RPAD('',8)) AS "add time"
    Upper (RPAD('',8)) AS "registration Add ID."
    Upper (RPAD('',8)) AS 'Record Date added',
    Upper (RPAD('',8)) AS "Record ID change."
    Upper (RPAD('',8)) AS "Date of registration of the change."
    ROW_NUMBER () over (partition by firearms_scores.ID_NUMBER QUALDATE desc order) rn
    OF FIREARMS_scores, TBL
    where scores.id_number = tbl.id_number
    and qualyear = "2010" and coursecode = "SA".
    order by employee_id)
    where rn = 1

    Hello

    You RPAD does nothing, because they are identical:

    SQL> SELECT NULL AS "Record Add ID",
      2         NULL AS "Record Add Date",
      3         NULL AS "Record Change ID",
      4         NULL AS "Record Change Date" FROM DUAL;
    
    R R R R
    - - - -
    
    SQL>
    

    Does not see why the leadership of the COLUMN should not do what you want. Maybe you forgot the quotes?

    SQL> COL "Record Add ID" FOR a18
    SQL> COL "Record Add Date" FOR a18
    SQL>
    SQL> SELECT NULL AS "Record Add ID",
      2         NULL AS "Record Add Date",
      3         NULL AS "Record Change ID",
      4         NULL AS "Record Change Date" FROM DUAL;
    
    Record Add ID      Record Add Date    R R
    ------------------ ------------------ - -
    
    SQL>
    

    PS: You probably shouldn't affect the width of a column that is smaller than the length of the header

    Concerning
    Peter

  • Do we need an ODI agent is running using the command startscen

    Do we need a full installation of ODI (server and client) using the command Startscen or just the client installation should be enough. And so we need an ODI agent must be configured and running by using this command in StartScen

    Thank you

    Hello

    (1) just the customer enough.

    (2) an officer is not necessary to execute a command to startscen, but don't forget to configure the odiparams file, which is required.

    Cezar Santos
    [www.odiexperts.com]

  • I can not use the command share in safari, mail, notes, etc. since I updated to El Capitan (10.11.5). No way to solve it. Please help me.

    I can not use the command share in safari, mail, notes, etc. since I updated to El Capitan (10.11.5). No way to solve it. Please help me.

    There is a problem with your installation of OS X. The easiest way, but not the fastest way to fix it is to reinstall the operating system. Unless you are in a hurry or have measured access to the network, it is what I suggest, especially since I don't know if there are any problems with the installation. Please backup all data before reinstalling. You won't need the backup unless something is wrong.

    The below, advanced shortcut if it works, can save you some downtime (and the cost of a download of several gigabyte, if necessary.)

    1 back up all data.

    2. disconnect all external storage devices.

    3. start in recovery mode. Select a language, if you are prompted. The OS X Utilities appears. One of the options is to install OS X. This is not what you do.

    4. This step is only necessary if you use FileVault 2. If you don't know what's FileVault, you use it. Go to the next step. Otherwise, launch utility disk, then select the icon for the volume FileVault ("Macintosh HD", unless you have given it a different name.) It will be nested under another icon of the disc. Select open in the file menu and enter your login password when you are prompted. Then quit disk utility must be returned to the main screen.

    5. Select get online help. Safari will launch. While in recovery, you will have no access to your Favorites, but you won't need them. Load this web page.

    6. triple - click anywhere in the line below to select this option:

    chflags -R norestricted /V*/*/S*/*/Caches

    Copy the selected text in the Clipboard by pressing Control-C key combination.

    7. Quit Safari. You go back to the OS X Utilities screen.

    In the menu bar, select

    Utilities ▹ Terminal

    Launch the Terminal application. Paste in the Terminal window by pressing the command-V key combination.

    Wait for a new line ending with a number sign (#) to appear. Quit the Terminal must be returned to the main screen.

    8. Select

    ▹ Restart 

    in the menu bar.

    9. This step must be performed after the restart, and while you are logged as administrator, not in recovery mode. If you have only one user account, you are the administrator.

    Select and copy this line as in step 6:

    sudo /usr/libexec/xpchelper --rebuild-cache

    Paste in a Terminal as before. You will be asked for your login password. Nothing displayed when you type. Type carefully, and then press return. If you do not have a password, you will need to configure one before you can run the command. You can get a warning to be careful. Confirm. You don't need to display the warning.

    If you see a message that your user name "is not in the sudoers file", then you have not logged as an administrator. Log in as one and repeat this step. You don't have to repeat the previous steps.

    Wait for a new line ending with a dollar sign ($) below what you entered.

    10. make as in step 9 with this line:

    sudo /usr/libexec/*/app_sandbox_cache_builder --rebuild-cache

    You can then quit Terminal.

  • Can't paste the screenshots using the command C?

    Hi, I've always been able to take screenshots (command + Opt + shift + 4) and paste them directly in mac mail emails or Messages by using the command + c. lately I am not able, maybe since 10.11.4? I am still able to take screenshots but I am unable to paste them. They are now on my desk and I have to search for them and then drag - move which is more slow than before.  I also notice the same problem in photoshop CC 2015, that I can paste is more directly the screenshots but drag and drop them on the desktop.

    I don't know what is the cause. Everyone knows this and is there a way to fix it?

    Thanks for your help.

    Press the function instead of the Option key when taking the screenshot.

    (141973)

  • First HP: help using the command CAS.solve (STRING1, STRING2) within a program

    Hello and hope you can help me with my problem!

    I write a somewhat complicated program (operating mode no case) who has a subroutine called STSOLVE where his entry is always a string from the main program that contains a formula as "'I' = 'V' / 'R', 'R'" and its goal is to replace all the variables contained in "" to the compatible standard CASE generated automatically variable (teiXX where XX is a unique number) and then use the command solve to assess this formula (say final temporary formula "tei1 = tei2 / ') tei3, tei3"). Before returning, he replaces the temporary variables, generated automatically with the original on the result, so the original formula will be sent back solved in the main program.

    My problem:

    It returns the result {UNDEF} or simply {} even in expressions that absolutely work if used with the command solve manually, in the main screen of calculators CASES when the CAS.solve command is used either! Even though I know that the entry of this order is correct according to the tutorials I've read in the forums, I can't work properly.

    I tried all methods of writing the order and I only managed to get a result when I wrote this:

    RPART1: = cas.expr (RPART1);

    RESLT: = case. Solve (RPART1, "tei2");

    .. .or RPART1 contains, say, the part 'tei1 = tei2/tei3' (NOT AS A STRING!) and "tei2" SHOULD be written as shown here, a chain, entered manually just for test (can be 'tei1' or 'tei3' too for this particular case). However, if I put "tei2" in RPART2 of local variable in the subroutine as a string and then pass this variable to the solve command, say:

    RPART1: = cas.expr (RPART1);

    RESLT: = case. Solve (RPART1, RPART2);  RPART2 contains the string "tei2", "tei1" or "tei3.

    Here again, I get a {} as a result!

    I tried so already a lot of things that I don't know exactly what mention here, but I hope I described the main situation enough to start detailed and of course, I'll give you any other information you might need to give me more help. I tried to paste the entire subroutine, or even the entire program, but I don't have any windows pc to connect the first HP and copy the program. I am writing from an Android Tablet and I should maybe type the everything here is not very easy, I will of course if you ask.

    Perhaps, I should also note that the generated vars tei1, tei2 etc. do not exist as variables in the calculator, but if I copy channels same as the program tries to run in the command CAS.solve and manually write in case screen (not a string of course) then they get solved without problems.

    Hope to get help and learn from you and I wish I could found more help about it online, but it seems very difficult and also all the tutorials I found on the cas.solve command in the programs did not work in my case!

    Andreas

    It works, or is this not the problem?

    CAS.solve ("tei1 = tei2/tei3", "tei2");

    I get output: {tei1 * tei3} which is correct.

  • Can not do a screen shot using the command shift 4. Unable to capture the States. I restart the Mac.

    Can not do a screen shot using the command shift 4. Unable to capture the States. I restart the Mac.

    It is to capture a piece of the element you want to screenshot, make a fire using full-screen control + 3

  • The list of permissions of the files using the command line

    Hi all

    My windows operating system is windows Server 2003 R2.

    Now, I'm trying to find a solution that can display all the permissions of the file of each folder and its subdirectory by using the command line syntax.
    I tried to use ICACLS to solve this problem, but its result contains the permissions of all files/folders. I just want to have the permission of files, not the permissions of each individual files.

    Is it possible to just show the permissions of folders with ICACLS? If it is possible, what sentence from command line?

    However, I also looked at Systinterals AccessChk and AccessEnum without finding a solution.

    If you have no good solution, please share with me.

    Advanced thanks.

    Hi Leo,

    The question you have posted is related to file permissions in Server 2003 and it would be better suited to the TechNet community.

    Please visit the link below to find a community that will provide the support you want.

    http://social.technet.Microsoft.com/forums/en-us/winserversecurity/threads

    Hope it will be useful.

  • I can settings add e-mail account by using the command line?

    Can I programmatically or by using the command prompt add parameters of "e-mail account"? for example: IMAP/POP3 "Incoming mail server" etc.

    No, there is no API to add an account without the help of the default interface of the to do.

  • How to use the commands on the cmd prompt witout using a string like 'netstat' but I need output

    How use the commands on the cmd prompt witout using a string like netstat but I need output
    example: C:\ > netstat-an... will give its results
    But if the keyword netstat is blocked...
    I want to use the command netstat another way... can I convert it to binary, and then I can run or something else
    Please answer my questin

    Netstat is simply a file program located in the folder C:\Windows\System32.   It appears as "netstat.exe.  If you rename (or copy / paste / rename) to "abc.exe" then you can run it using 'abc' instead of 'netstat '.

    HTH,
    JW

  • Is there an online class to learn exactly how to use the command prompt which is quite through. OR y at - it clear a book that explains in detail for this? Who should I contact?

    I would like to know how to use the command prompt.  The nethodology type in the cmd prompt with the syntax and the Liposuction, in other words, the real return to a command prompt. I downloaded about evertthing I can find about this, but can't seem to put it all.

    My OS is Windows XP Pro sp3, lots of RAM, my address is * address email is removed from the privacy *.   I would like to take a rough online study if one is available if it is not too expensive.

    It really depends on what you mean by "to a command prompt."

    If you open a command prompt window (for example, in start > run > cmd > OK), you can enter a number of orders.  The list of available commands, including their syntax, is here--> http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds.mspx?mfr=true

    You can also follow the links here:http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/ntcmds_o.mspx

    If you want to get more sophisticated - automating command-line tasks - you can start here: http://technet.microsoft.com/en-us/scriptcenter/default.aspx

  • Error message: the software can be installed by using the command "run under...". ».

    I have amtrying to load the HP Photosmart D71000 series. Keep is error message: the software can be installed by using the command "run under...". ». Advice suggests logon as a user with administrator privileges. This was done and same message came.  Why?

    Try right click on the setup.exe > run as admin.

    If this does not work, try the Vista Hardware and drivers Forum:

    http://social.answers.Microsoft.com/forums/en-us/vistahardware/threads

    See you soon.

    Mick Murphy - Microsoft partner

  • How to use the command shutdown in vista?

    I used the shutdown command to make sure that the computer is turned off at some point in XP, but I just wanted to put my own computer to shut down after accidentally booting to Vista Home in order to download a large file while I was at work.

    I tried shutdown-s t 9000, which should have set a time limit of two and a half hours, but he gave me the help screen message.
    I saw that the main difference is that dashes had been changed to slashes, but "shutdown /s /t 9000" also failed.

    What is the correct syntax to use the command? I confirmed that 'shutdown-s-t 9000' works very well in my XP virtual machine, if that is the new syntax to accomplish the same thing with Vista? I tried "run as administrator" to the command-line nothing helps.

    Hello
    It is the command to shut down the computer in Vista.
    SHUTDOWN [/s] [t / xxx]
     
    xxx/t:  The value of the timeout prior to xxx seconds. (The valid range is 0-600, with a default value of 30. The use of / t xxx implies the /f option.
     
    /s: Shut down the computer.
     
    /f: Force running applications to close without prior notice to users. (/ f is automatically defined when used in conjunction with xxx/t).
  • Install programs by using the command line?

    My computer will not install packaged with Bitrock Installer programs.  How to do this? I used the command line in the past, but I forgot how.  It must be installed all by activating not the installer to Bitrock.  Or what I can do for my computer compatible with the Bitrock Installer?

    Hi sallysantlerart,

    1. what program are you trying to install?

    2. what happens when you try to install the program?

    You can consult the following links to install the program by using the command line:

    http://msdn.Microsoft.com/en-us/library/aa372024 (v = vs. 85) .aspx

    http://msdn.Microsoft.com/en-us/library/Aa367988 (v = vs. 85) .aspx

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for