How to run a batch file minimized on a Windows CE device (using a different batch or shortcut)?

I have a batch file that runs on a Windows CE 5 device (for the exact version of Motorola MK3000). The batch file installs some CAB files and finally runs exe. eg.

@ECHO OFF wceload /noaskdest /delete 0 myPath\myCab.cab START myPath\myApp.exe 

Now I want it to work in mini mode (without displaying a white command window). As far as I understand, the shortcut cannot be used for this purpose, since the “Run as thumbnail” option is not available in device shortcuts (unlike PC shortcuts). I tried using another batch file to run my batch with the argument "/ min":

 @echo off start /min path\myBat.bat 

but it doesn’t seem to call my party at all (without "/ min", it calls it ...).

I also tried the proposed option, but could not run it on the device (it cries about the brackets).

Thanks in advance.

+4
source share
1 answer

using

  start /B path\myBat.bat 

to start a new session in the background.

+2
source

Source: https://habr.com/ru/post/1399006/


All Articles