0
forfiles /p "P:\a3\" /s /m *.wss /c "cmd /c dewssdos @file" 

DeWssDos.exe, that I call here has a PAUSE in it and I can not edit the exe.

How do I skip the PAUSE from within my code?

rene
  • 41,474
  • 78
  • 114
  • 152
Andrej S.
  • 13
  • 1
  • 5
  • 2
    Maybe `echo y | dewssdos` will work ... http://ss64.com/nt/syntax-redirection.html – rene Nov 23 '14 at 12:16

2 Answers2

0

I think the pause would be passed by just hitting Y and a new line.

forfiles /p "P:\a3\" /s /m *.wss /c "cmd /c echo y &echo.|dewssdos @file" 

I hope this could help!

Muhammad Hamed
  • 1,229
  • 9
  • 19
0

Thank you for your answer!

I am sorry to have wasted your time. Unfortunately I totally overlooked an option in the DOS Tool itself... -P disables the pause. Oh boy. :)

Anyone that's working with Mikero's DeWssDos tool, try this:

forfiles /p "Path\To\Files" /s /m *.wss /c "cmd /c dewssdos -P @file"

Andrej S.
  • 13
  • 1
  • 5