Shell with several arguments including "<"

Discussion in 'Questions (Windows Mobile)' started by pmu5757, Jun 13, 2009.

  1. pmu5757

    pmu5757 Member Licensed User

    I'm trying to launch with B4PPC a DoS command but it doesn't work.
    Normally, I should type ptts.exe < texte.txt
    With B4PPC, I tried shell ("ptts.exe", "< texte.txt") but it does'nt work and the DOS window is so fast that I cannot see any error message.
    Can someone help me ?
    Thank you.
  2. Byak@

    Byak@ Active Member Licensed User

    emm... you must open CMD first. you can do it in "Run" dialog.Input "CMD"
    and now you can see what error you have
  3. pmu5757

    pmu5757 Member Licensed User

    Good idea, but I don't know how to do it in "Run" dialog.Input "CMD".
    Could you give me more details please.
    Thank you.
  4. Erel

    Erel Administrator Staff Member Licensed User

    You can create a batch file and run it.
    It is also possible to do it all from code with the help of the Door library.
    Note that the redirection will only work on the device.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice