• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Command Prompt Setup in W2k?

Kinesis

Senior member
Hey folks, I thought I may have already asked this, but I can't seem to find the post...anyhow, I am wondering how do you setup the visual display in the Command Prompt for w2k to appear like the standard Dos (Or Windows 98 Dos Prompt) setup.

Like when you do a dir command in Dos Prompt you get the file name, extension and date & additional directories. In W2k tho, with command prompt the order is a little different. Do you do the setup witn a Prompt $ .... ? something.

Hope that made sense

 
I'm not sure I exactly understand what you're asking, but if you want to know how to change the properties (i.e. fonts, sizes, etc of the window), right click on the title bar of the command prompt window, and there is a properties option in the context menu. HTH.
 
Are you trying to setup windows from DOS? If so, you can't. You either have to boot from CD or make the 4 Win2k boot disks.
 
i remember doing this, he is asking how instead of dos saying c:, you get it to say something like
i am in control:
i used to do that to people's comptuer many years ago with weird messages, sorry though, have no idea how to do it under win2k
 
I think he is talking about the results of doing a "dir".

The output from the command is different in Win2K than in DOS, mainly (this is just my opinion) they put the file names on the far right so when they have long file names they just extend off to the right instead of becoming "MICROS~1" truncated on the left in the limited space.

But anyways, I don't think there is a way to change that. You might want to ask at NTFAQ.com - the people that answer questions there know WAAAAY too much about Windows NT/2000 sometimes.
 
if someone could either post or pm me the directions to change the dos prompt that'd be great... i can have a little fun with that 🙂
 
He is asking about if he can change the layout of how CMD.EXE displays files/folder. To answer his question, there isn't a way to change this. This is built into CMD.EXE.
 
Gee folks I did not mean to cause this kind of response. Ok let me see if I can explain:
Ok if I type dir in a Command Prompt (I am using DIR as an example) I get;

06/12/2001 03:11p <dir> MSSQL7
06/12/2001 7:58p <dir> WINNT

d:\>

But I want to change it to view as it does in a DOS Prompt window like win 98

MSSQL7 <dir> 06/12/2001
WINNT <dir> 06/12/2001

d:\>

or something like that. I know it can be done, as my school has it set that way. Just cause not everyone has W2k at home, rather Win98 and it caused too much confusion so they set it up like the later example. I just can't seem to figure it out.

Thanks...sorry for the confusion. I did subscribe to the thread...

 
you can use the command dir /-n to get a directory listing like that, but I don't know of a way to change the default behavior to that.

-Dave
 
Try using &quot;Dir /b&quot; That will only display the file/folder names.

eg:

C:\>dir /b
WINNT
file.ext
Program Files

C:\>

You can also use the &quot;/A&quot; command to only display certain types of files. Use &quot;dir /?&quot; to get more information. Hope this helps.
 
A quick way to implement this w/o typing the switches each time would be to make a batch file something like this, and placing it in a folder that is in the system path. Perhaps it could be called ls.bat (it can't be DIR, but LS is the name of the UNIX list-file command, so we'll use that for the purpose of the example):

@dir /b %1
 
i used to do that-- i made a batch file like this-

dir /on /p

to order alphabetically and stop at each screenful. i named it dirr.
 
What no DOS gurus here!?!

What you?ll want to do is set the DOS environment variable ?DIRCMD? to what ever options (type dir /? To view options) you want. You can add environments to the window?s ?command prompt.pif? file.

e.g.

set DIRCMD=/o:n/p

Will result in, when you type ?dir? followed by [return], display a directory listing sorted by name, and pause after each screenful.

No batch files, and will work for evey command prompt you start.
 
Back
Top