×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    64

    kindly tell the qt statement for this

    kindly tell the statement to send ping command using cmd like the following red colored statement sends directory change command to cmd

    Code:
    QStringList args;
       args<<"/c" << "dir"; 
      process.start("cmd.exe",args);
    waiting fr a quick reply
    thanks in advance

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: kindly tell the qt statement for this

    How would you do it (ping) on the command line??

    (BTW, "dir" is not a "directory change" command.)

  3. #3
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    64

    Re: kindly tell the qt statement for this

    ok its solved
    the required command was
    args<<"/c" << "ping"<<alive;
    process.start("cmd.exe",args);

Similar Threads

  1. Does this statement make sence?
    By sundy10 in forum Symbian
    Replies: 4
    Last Post: 2009-09-17, 13:35
  2. what is wrong with this statement ???
    By claudiuandreii in forum Symbian
    Replies: 3
    Last Post: 2006-05-15, 16:12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •