Numinous Posted October 16, 2003 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"
Aaron Posted October 16, 2003 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
Numinous Posted October 16, 2003 Author Posted October 16, 2003 ill have a dabble EDIT :: the only way is to somehow get xp install to load ansi.sys
Numinous Posted October 17, 2003 Author 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
Numinous Posted October 19, 2003 Author Posted October 19, 2003 type the commands in a cmd window to try it out
DarkBringer Posted October 19, 2003 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"
Numinous Posted October 19, 2003 Author Posted October 19, 2003 prevents media library migration.. i dont use media library so theres nothing to migrate.. its not an essential switch
begey Posted October 20, 2003 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...
Numinous Posted October 20, 2003 Author 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
willpantin Posted October 20, 2003 Posted October 20, 2003 Nice one, Numinous!Is there also a way to make the fonts appear in bold, underlined, or italic?
Numinous Posted October 20, 2003 Author Posted October 20, 2003 no sorry will we seem to be stuck with the default font
visaversa Posted October 20, 2003 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
Numinous Posted October 20, 2003 Author Posted October 20, 2003 yes you can.. but that wouldnt apply to your unattended installations cmd windows
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now