October 21, 200322 yr just to let you know, >NUL does't work in config.sys but it does work in autoexec.bat, applied to mscdex.exe - @ECHO OFFMODE CON COLS=40 LINES=1it works in the command window but the lines command is not recognised when executed from the autoexec.batit might be because my floppy has command.com and dos files coming from a dos 6.2 disk, or I don't know.thanks for the ideas anyway, the >NUL will definitely prove useful in the future.
October 21, 200322 yr Author if i remember rightly you can use 50 lines in autoexec.bat to get more text on your screen.. pretty sure of itheres another option for your batch's ..use local variables by usingsetlocalset VARIABLENAME=%systemdrive%\blah\blah\blahheres an apps.cmd@echo offMODE CON COLS=50 LINES=2COLOR 1BTITLE Installingsetlocalset APPSPATH=%systemdrive%\install\ApplicationsECHO MSN Messenger 6......................Please Waitstart /wait %APPSPATH%\MSN\MsnMsgs.msi /QBECHO Adobe Reader.........................Please Waitstart /wait %APPSPATH%\AdobeReader6\AR6.msi /QBECHO Kerio Personal Firewall 2.1.5........Please Waitstart /wait %APPSPATH%\KPF\Setup.exe -s -f1"%APPSPATH%\kpf\setup.iss"ECHO PowerDVD 5...........................Please Waitstart /wait %APPSPATH%\PowerDVD5\Setup.exe -s -f1"%APPSPATH%\PowerDVD5\setup.iss"start /wait %APPSPATH%\PDVD_patch\Setup.exe -s -f1"%APPSPATH%\PDVD_patch\setup.iss"EXIT
October 25, 200322 yr Author at last success changing the default console font for your unattended batch's.. get that matrix look and feel... nice change these lines in hivedef.infHKCU,"Console","FaceName",0x00000002,"Lucida Console"HKCU,"Console","FontFamily",0x00010003,54HKCU,"Console","FontSize",0x00010003,786432HKCU,"Console","FontWeight",0x00010003,400unfortunately its lucida console or the crappy default font.. the settings here will give you a 7x12 lucida fontmaybe go fullscreen by changing this lineHKCU,"Console","FullScreen",0x00010003,0
June 16, 200422 yr :: to maximise your batch.. call it with START /MAX /WAIT mycmd.cmdIs it possible to add this to my winnt.sif? Or must I add one batch to the winnt.sif and then adding ALL my batches to THIS batch with "START /MAX /WAIT"???
October 20, 200421 yr @ BastianI added start.bat to my winnt.sif instead of xpcd.batthe way i did it was make another batch called start.batWhich had in it.START /MAX /wait %systemdrive%\install\xpcd.batECHO.ECHO Removing temporary folders.rmdir %systemdrive%\DRIVERS /s /qECHO Drivers folder removed.rmdir %systemdrive%\INSTALL /s /qECHO Install folder removedEXITThen it ran my xpcd bat like normal except i added this to the start of the xpcd.batMODE CON COLS=200CLS@echo off TITLE Installing Programs.color 0CTo make it full screen with red writing.I had to move my commands to delete the Install and Drivers folders cos it would kill the xpcd.bat and would then pause.
Create an account or sign in to comment