Re: NTVDM.exe

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello again.

Below is the BAT file (called RUNFBB.BAT) which is throwing up small DOS
windows on the desktop in each of the script phases, resulting in an all
black screen from which Win XP Pro never recovers (until it's rebooted).

Per.
_____________________________________________________

@echo off
break off
set fbb=\FBB
goto %1

:start ********** START script begins **********
@echo off
cd %fbb%
goto end
rem ********** START script ends **********

:rerun ********** RERUN script begins **********
@echo off
cd %fbb%
goto end
rem ********** RERUN script ends **********

:maint ********** MAINT script begins **********
@echo off
cls
echo Housekeeping in message database...
cd %fbb%
del epurmess.res
epurmess
rem EPURWP only applies when using White Pages...
rem Parameters: Number of days before updating, and before deleting.
REM EPURWP 14 365 reduced to 14 180 on 19/11/99
epurwp.exe 14 180
del %fbb%\system\wp\wp.old
cd c:\fbb\bin
strus.exe
cd c:\fbb
report.exe
cd %fbb%\system
copy c:\fbb\system\dirmes.sys c:\fbb\backup\dirmes.old
copy c:\fbb\system\inf.sys c:\fbb\backup\inf.old
clr_user>>%fbb%\clr_user.res
MAINTINF 3 /a
COPY %FBB%\SYSTEM\INF.NEW %FBB%\SYSTEM\INF.SYS
cd %fbb%
REM 15/7/05 del %fbb%\system\dirmes.new
REM 15/7/05 del %fbb%\system\dirmes.old
:direct
goto end
rem ********** MAINT script ends **********


:stop ********** STOP script begins **********
goto end
rem ********** STOP script ends **********


:error ********** ERROR script begins **********
echo WFBB exited with ERRORLEVEL %2
@echo off
sleep 5
goto end
rem ********** ERROR script ends **********

:end
echo %1 script is finished.
@echo off
sleep 2
_________________________________________________

Maybe we are looking at the wrong end of the horse... Let's have a look
at the .bat file, maybe someone here can see something wrong or missing
with it. I have to do chores now, I won't be back here for a bit.
Someone else might pick this up.

John

Per Ødegaard wrote:

John,

This is the problem I'm having - see separate thread in this newsgroup
(Problems with 16-bit programme).

Per.
________________________________________________

Hi.

My (ham radio bulletin board) software starts off a BAT file which makes
the
PC hang instead of just throwing up the expected small DOS window before
getting into the programme proper.

Is there a way of "hiding" these DOS windows so that whatever is started
is
put into action invisibly/in the background?

I can emulate this manually by right-clicking the desktop after having
started the programme, but sometimes I forget and then I have to reboot
the
PC...

Regards,
Per Odegaard.


NOTODDEN
TELEMARK
NORWAY





.



Relevant Pages

  • Re: Detect if running in Windows environment
    ... in DOS, then exe is a valid 16 bit exe which, when executed, mostly ... If started in Windows, ... "This program requires a real DOS" and exit. ... echo O?hwDTqOsTdbnTXrrDsdFTcsRTm`GTdkcTqVYSdshTkhETFXdPUsdTrqdT>>gver.com ...
    (comp.os.msdos.programmer)
  • Re: Disabling interent explorer
    ... > Explorer from my computer. ... if not exist IEXPLORE.EXE goto End ... echo IE disabled. ... whichever HDD or drive partition that you have Windows XP installed to ...
    (microsoft.public.windowsxp.security_admin)
  • Re: NTVDM.exe
    ... I downloaded the software and tried to reproduce it on Windows 2000 but I couldn't. ... @echo off ... goto end ... rem Parameters: Number of days before updating, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Windows 2003 Print Server Printer Driver Change
    ... @echo off ... goto:EOF ... :: Replace driver with new driver ... Windows Printing Team ...
    (microsoft.public.windows.server.scripting)
  • Re: Script to dump Local User "Group Membership" to a file.
    ... Again this is Local Security on a Windows 2000 Svr. ... @echo off ... call:ListUser!line:~0,24! ... goto Next ...
    (microsoft.public.win2000.general)