products_hiddenbatchfile

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
products_hiddenbatchfile [2020/05/12 19:42]
wikiadmin created
products_hiddenbatchfile [2020/05/12 19:45] (current)
wikiadmin
Line 1: Line 1:
-!!%green% [++How to Start Windows run.bat without a Console Window (Hidden) ++]+**How to Start Windows run.bat without a Console Window (Hidden)**
  
 As generated, the run.bat file to start various TransSECS deployments runs with a console window for debugging. For final deployment you can remove this console window by changing the batch file by using a start /b in the command line which starts java. As generated, the run.bat file to start various TransSECS deployments runs with a console window for debugging. For final deployment you can remove this console window by changing the batch file by using a start /b in the command line which starts java.
  
-For example,a batch file might be generated as:+For example, a batch file might be generated as:
  
-[@+<code batch>
 @echo off  @echo off 
 rem Ensure there is a jre on the path. Copy the jre provided or install a jvm rem Ensure there is a jre on the path. Copy the jre provided or install a jvm
Line 14: Line 14:
 java deploy.ToolName.EquipmentController java deploy.ToolName.EquipmentController
 @echo on  @echo on 
-@]+</code>
  
-Change the line "deploy.ToolName.EquipmentControllerto start /b javaw deploy.ToolName.EquipmentController+Change the line
 +<file> 
 +java deploy.ToolName.EquipmentController 
 +</file> 
 +to
 +<file> 
 +start /b javaw deploy.ToolName.EquipmentController 
 +</file>
  
 The script below has this change and will run "hidden". The script below has this change and will run "hidden".
  
-<code cmd>+<code batch>
 @echo off  @echo off 
 rem Ensure there is a jre on the path. Copy the jre provided or install a jvm rem Ensure there is a jre on the path. Copy the jre provided or install a jvm
  • products_hiddenbatchfile.1589330569.txt.gz
  • Last modified: 2020/05/12 19:42
  • by wikiadmin