Customize DOS startup screen
When I start up my cmd.exe, I want a clear screen... I'm always having to type in cd\ and cls to get the look of the screen I want.
Is there a way to customize this?
Windows Forum
When I start up my cmd.exe, I want a clear screen... I'm always having to type in cd\ and cls to get the look of the screen I want.
Is there a way to customize this?
by wats679 Accepted solution
by otaku_lord Accepted solution
by kenone Accepted solution
→ HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Prompt
Change the prompt value to whatever you like, IE; $N$G brings you to the root of your current drive followed by a greater than sign (C>) at the command prompt type prompt /? for a complete list of variables
by wats679 Accepted solution
by kenone Accepted solution
by oldbaritone Accepted solution
@ECHO OFF
CD \
CLS
by churdoo Accepted solution
Look for the file AUTOEXEC.NT located in your %SYSTEMROOT%\SYSTEM32 directory. Edit the file and add the lines that oldbaritone has indicated, to the bottom of the file (although with CLS as the last command, the echo off line is pretty much useless).
Any customizations you want to add to your default CMD environment are made in AUTOEXEC.NT and CONFIG.NT.
--C
by cg it Accepted solution
but what's wrong with the DOS screen in the first place...
so you've got to type in the change directory command... big deal....
in actuality, I like having to use the commands, keep in practice.
It's like the Wizards in the new Windows 2008 /7/ whatever that are used to configure the boxes. Use the wizard and volia! but the theory behind why? The wizard users don't know.
Using the old ways or the manual ways shows you know the theory.
by wats679 Accepted solution
hi churdoo and baritone, i tried by adding baritone's script
@ECHO OFF
CD \
CLS
to the end of the lines on both the files CONFIG.NT and AUTOEXEC.NT
but that didn't make any difference.
I even tried replacing the texts on the files with just the script but even that made no difference.
Am I doing something wrong?
Have restored the default text for those files.
by wats679 Accepted solution
I totally agree with your points, believe me, I totally agree... but.. what's wrong in discovering another door to the same room?
It's only for my information that I'm asking this and also to know that our experts republicans have the knowledge to share with other republicans :)
you are totally right about the wizard assistance...
by seanferd Accepted solution
Which you do not have.
You are in an NT CMD environment, There is not DOS. There is no "DOS startup screen", which is what you would see if you were booting into DOS on a DOS or Win9x/3x system.
So, what you want to do is customize the CMD environment or prompt.
To customize the "look and feel". open a cmd prompt, right click on upper left corner, select Properties, go to town.
For the prompt string and starting directory, see this, for example
http://www.wikihow.com/Create-a-Custom-Windows-Command-Prompt
Yes, if the registry entry is not there, you would create it. Make sure it is the proper place for your version of Windows.
OR
Simple create a new shortcut to the Command Prompt (copy one out of the Start menu, create one from cmd.exe) then adjust the shortcut properties. Easy. You can have multiple different shortcuts for different style prompts, as long as you give the shortcuts different names.
Autoexec.dos only applies to non-NT systems when booting into a DOS-only environment, or a NT system which dual-boots with DOS on a FAT32 drive.
See also
http://smallvoid.com/article/winnt-autoexec-config.html
by ic-it Accepted solution
of the cmd.exe
Open it's properties.
Click on the Shortcut Tab
Paste this in the target -
%SystemRoot%\system32\cmd.exe /k cls \"%1"
Type this in the Start in box
c:\ (if C is your system drive).
This discussion is closed to new replies.
Sort by Trending