Sunday, 15 June 2014

powershell - how to open power shell window from a batch file to a new window -


I am writing a dos batch script file. My script will be doing the following:

  1. Make a directory with the mkdir command
  2. Divide a power shell command into a new window (not the same command window)
  3. I would like to open this power script in a new window
  4. Run Shell Monkey-P com.android.browser in the current window

    test.bat

      mkdir c: \ test_log_file powershell adb logcat & gt; & Gt; "C: \ Testdata.txt" shell monkey -P com.android.browser   

    I have a problem creating a power in a new window how do I have a power shell in a new command window Will open

    Regards,

      mkdir c: \ test_log_file START "powerhail window "PowerHead ADB Lockacket ^ & gt; ^ & Gt; "C: \ Testdata.txt" shell monkey -P com.android.browser   

    Duties ( ^ ) to avoid the command for your particular meaning The processor is essential. The first parameter quoted is the window title of the new window, if you wish, then " can be.

No comments:

Post a Comment