Home Forums Programming Powershell How to work with CMD prompt and prompt selections RE: How to work with CMD prompt and prompt selections

  • This will execute the application but as a result it opens in a cmd window and how to make the default selection of Y (Yes) from the window? Note, the executable doesn't take parameters as input.

    Start-Process -filePath "C:\DB Tools\DBCleaner\DbCleaner.exe"

    A clever person solves a problem. A wise person avoids it. ~ Einstein
    select cast (0x5365616E204465596F756E67 as varchar(128))