-1

I have to use "call" to execute other cmd file. I want to maximized the window. I tried this but it still not working.

call /MAX %~dp0\test.cmd

Anyone can help, really appreciated. Thanks

Cheries
  • 834
  • 1
  • 13
  • 32

1 Answers1

0

This is working.

powershell -windowstyle maximized -command ""
call %~dp0\test.cmd

Reference from this : stackoverflow.com/a/45060156/388389

Cheries
  • 834
  • 1
  • 13
  • 32