Command Prompt Setup in W2k?

Kinesis

Senior member
May 5, 2001
475
0
76
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

 

ProviaFan

Lifer
Mar 17, 2001
14,993
1
0
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.
 

IamDavid

Diamond Member
Sep 13, 2000
5,888
10
81
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.
 

Endymion

Platinum Member
Oct 9, 1999
2,167
0
0
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
 

tasslex

Senior member
Jun 1, 2001
342
0
0
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.
 

IamDavid

Diamond Member
Sep 13, 2000
5,888
10
81
lol, 3 different post, 3 different answers:)
Please Kinesis, explain to us what you are talking about...
 

Techwhore

Golden Member
Aug 2, 2000
1,248
0
0
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 :)
 

Shadow07

Golden Member
Oct 3, 2000
1,200
0
0
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.
 

Kinesis

Senior member
May 5, 2001
475
0
76
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...

 

mobly99

Senior member
Apr 27, 2001
260
0
0
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
 

CplHicks

Senior member
Nov 29, 2000
309
0
0
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.
 

ProviaFan

Lifer
Mar 17, 2001
14,993
1
0
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
 

mackstann

Banned
Apr 17, 2001
1,013
0
0
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.
 

Escalade

Senior member
Dec 20, 2000
512
0
0
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.