2 Replies Latest reply on Oct 24, 2013 12:32 PM by Bill Robinson

    NSH command error - blquery

    Sanket Bakare

      Hi All,

       

      I have one query regarding nsh command

       

      if I use command like     blquery -h $1 -e 'service_levels("Windows Audio")'

      then its working fine

       

      however I need to pass parameters to this command

      so I am trying like     blquery -h $1 -e 'service_levels(\"$2\")'

                                    blquery -h $1 -e 'service_levels("\"$2\"")'                     

                                    blquery -h $1 -e 'service_levels(\"$2\")'     

       

      then this command giving me parsing error..

      in short I am not able to pass parameters/arguments to this command.

       

      I tried                echo 'service_level("$2")'       

      output is --            'service_level("$2")'


      and                echo "'service_level("$2")'"

      output is           'service_level("Windows Audio")'

       

      Waiting for your suggestions...

       

       

      Br,

      Sanket

       

      Message was edited by: sanket LNU