Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Any way to run a batch file with NOUI?  (Read 5010 times)

0 Members and 1 Guest are viewing this topic.

Marco Poggio

  • Guest
Any way to run a batch file with NOUI?
« on: August 04, 2004, 07:39:19 AM »
I am trying to run a batch file remotely.  Is there anyway to have it run without bringing up the DOS screen?  I wan't users to not know it is even running.

Thanks in advance!

MalikTous

  • Guest
Re: Any way to run a batch file with NOUI?
« Reply #1 on: August 04, 2004, 06:38:17 PM »
Use a .PIF with the .BAT file. In the program information file, specify 'run minimised'.

Add the following lines to your batch file:

[glb]@echo off
mode con:=nul:
break=off[/glb]

(current batch file text)

[glb]break=on
mode con:=con:[/glb]

These will disable echo of commands to the screen and route the program outputs to the NUL: device. Be sure to test the batch file before adding these lines as they disable the ability to monitor the batch file's progress or any error messages from the batch file.

johnwill

  • Guest
Re: Any way to run a batch file with NOUI?
« Reply #2 on: August 05, 2004, 08:07:08 AM »
This still results in the MS-DOS icon appearing on the task bar for the duration of the DOS session...

MalikTous

  • Guest
Re: Any way to run a batch file with NOUI?
« Reply #3 on: August 07, 2004, 11:29:49 AM »
There may be something you can put in a PIF to disable the taskbar session... check the options.