Numinous Posted October 16, 2003 Share Posted October 16, 2003 if like me you like pretty colors.. at the top of your script use the color commandcolor attributes are specified by TWO hex digits -- the first corresponds to thebackground; the second the foreground. each digit can be any of the followingvalues: 0 = Black 8 = Gray 1 = Blue 9 = Light Blue 2 = Green A = Light Green 3 = Aqua B = Light Aqua 4 = Red C = Light Red 5 = Purple D = Light Purple 6 = Yellow E = Light Yellow 7 = White F = Bright Whiteso for bright white text on a light blue background useCOLOR 9F:: specify columns wide by lines highMODE CON COLS=x_amount LINES=x_amount:: to maximise your batch.. call it with START /MAX /WAIT mycmd.cmd:: while your at it give it a name in the title bar using TITLE blimey its a personalised script.. wowee ..numinous.. you rock heres a for instance.. a 1 line cmd window that displays what its doing rather than what its done@ECHO OFFMODE CON COLS=40 LINES=1COLOR 9FTITLE InstallingECHO DirectX 9.0b...............Please Waitstart "DX9" /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opkECHO Windows Media Player 9.....Please Waitstart "MP9" /wait %systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:N /C:"setup_wm.exe /Q:A /R:N /NoMigrate /DisallowSystemRestore" Link to comment Share on other sites More sharing options...
Aaron Posted October 16, 2003 Share Posted October 16, 2003 hehe nice, if we can be able to change the font too then we could create a matrix style batch script Link to comment Share on other sites More sharing options...
Numinous Posted October 16, 2003 Author Share Posted October 16, 2003 ill have a dabble EDIT :: the only way is to somehow get xp install to load ansi.sys Link to comment Share on other sites More sharing options...
Numinous Posted October 17, 2003 Author Share Posted October 17, 2003 ok so 1 line wasnt enough stretching to 2warning to anyone trying this.. prolly best to make sure your scripts work before applying this Link to comment Share on other sites More sharing options...
Mike500 Posted October 17, 2003 Share Posted October 17, 2003 Can someone take a screenshot? Link to comment Share on other sites More sharing options...
Numinous Posted October 19, 2003 Author Share Posted October 19, 2003 type the commands in a cmd window to try it out Link to comment Share on other sites More sharing options...
DarkBringer Posted October 19, 2003 Share Posted October 19, 2003 Off topic:What does the "/NoMigrate" in WMP9 do?@ECHO OFFMODE CON COLS=40 LINES=1COLOR 9FTITLE InstallingECHO DirectX 9.0b...............Please Waitstart "DX9" /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opkECHO Windows Media Player 9.....Please Waitstart "MP9" /wait %systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:N /C:"setup_wm.exe /Q:A /R:N /NoMigrate /DisallowSystemRestore" Link to comment Share on other sites More sharing options...
Numinous Posted October 19, 2003 Author Share Posted October 19, 2003 prevents media library migration.. i dont use media library so theres nothing to migrate.. its not an essential switch Link to comment Share on other sites More sharing options...
begey Posted October 20, 2003 Share Posted October 20, 2003 I am trying to make bootdisk that doesn't show the loading of aspicd.sys and the other drivers, I don't know if there is a proper way to do it so I thought I could just change the color to black on black.It wouldn't work cuz I see that it changes also what was on screen before so my professional looking "please wait..." wouldn't remain visible, but just for the heck, is it possible to have background and foreground the same color? when I enter the same digit it looks like the command is ignored.And any suggestion on how to avoid seeing the load message of the various display.sys, aspi etc drivers, maybe using an alternative method would be very appreciated.my ignorance has no limit, you can navigate inside my head for days without meeting a notion, it's a very relaxing place... Link to comment Share on other sites More sharing options...
Numinous Posted October 20, 2003 Author Share Posted October 20, 2003 try a 1 line cmd window i didnt see a thing.. except a blinking cursor ..thats why i stretched to 2 linesor direct any output to NUL using " > NUL" at the end of a command line like thisdel "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk" > NULany output sent to NUL dissappearsnever tried this in config.sys so it may not work but worth a try Link to comment Share on other sites More sharing options...
willpantin Posted October 20, 2003 Share Posted October 20, 2003 Nice one, Numinous!Is there also a way to make the fonts appear in bold, underlined, or italic? Link to comment Share on other sites More sharing options...
Numinous Posted October 20, 2003 Author Share Posted October 20, 2003 no sorry will we seem to be stuck with the default font Link to comment Share on other sites More sharing options...
visaversa Posted October 20, 2003 Share Posted October 20, 2003 You could however change font en type in the properties from the command window and make it permanent for all cmd windowsW Link to comment Share on other sites More sharing options...
Numinous Posted October 20, 2003 Author Share Posted October 20, 2003 yes you can.. but that wouldnt apply to your unattended installations cmd windows Link to comment Share on other sites More sharing options...
visaversa Posted October 20, 2003 Share Posted October 20, 2003 true Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now