0

I want to start a program without a window with a batch file.

The window of the batch file is irrelevant. The window of the program is important!

I haven't found anything with google.

ichigome
  • 1
  • 3
  • https://superuser.com/questions/140047/how-to-run-a-batch-file-without-launching-a-command-window# – Gefen Morami Jul 16 '17 at 20:20
  • I want to hide the program window, not the batch-window – ichigome Jul 16 '17 at 20:27
  • If a program isn't designed to be able to run in the background, you can't force it to. You can start it minimized, but you can't necessarily open it "without a window." It really depends on what program you're trying to run. – SomethingDark Jul 16 '17 at 21:25
  • If an application doesn't ignore `nCmdShow` from `WinMain` (which many applications do ignore), then its main window can be hidden. notepad is an example that allows this. But a batch script can't implement it since `start` only supports `/min` and `/max` show values. – Eryk Sun Jul 17 '17 at 16:25
  • Ok, thx for the support! – ichigome Jul 17 '17 at 16:40

1 Answers1

0

You can do it with "Start" command. For eg)

START C:\Windows\NOTEPAD.EXE

For more info you may visit this site.

If you need to run it with additional parameters here is some help provided.

OMKAR AGRAWAL
  • 128
  • 1
  • 9