Computing.Net > Forums > Windows XP > command prompt?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

command prompt?

Reply to Message Icon

Name: rogue_red
Date: June 18, 2005 at 05:15:00 Pacific
OS: Win XP pro sp2
CPU/Ram: Amd 1.2 g 512 ram
Comment:

Hi, Why is it that when i try to use the command prompt START-RUN-CMD, that the window that opens alway has C:\Documents and settings\Me> instead of just C:\>.
I cant run the commands i want like that. I am the only user and my account is an administrator one. Thanks for any help.



Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: June 18, 2005 at 05:26:37 Pacific
Reply:

When you get into the Cmd prompt type Help Cmd. The ensuing list will give you assorts of info on Cmd. About half way down it tells you how to modify the registry so that Cmd opens in a designated folder. You just need to enter a value for the auto run parameter which is normally empty.

To navigate to the required folder use CD

CD \ takes you back to C:\

CD \Windows takes you to the Windows folder

CD .. takes you back up one level

Stuart


0

Response Number 2
Name: XpUser
Date: June 18, 2005 at 05:36:05 Pacific
Reply:

To open Command prompt in the root directory,

1. Create a Command prompt shortcut on your desktop.

2. Right click the shortcut, select Properties.

3. Change (or add) the "Start in" dialogue to C:\

4. Save and close Command prompt for the change to take effect.

i_XpUser


0

Response Number 3
Name: rogue_red
Date: June 18, 2005 at 06:35:19 Pacific
Reply:

thanks for that. Can you also tell me what the difference is between typing in 'command' in the run box and 'cmd'. I get two different results. When i type in 'command' and press enter I get the following message
16 bit ms-dos subsystem
C:\WINDOWS\system32\command.com
C:\progra~1\Symantec\S32evnt1.dll. An installable Virtual Device Driver failed Dll initialisation. Choose 'close' to terminate the application.

If i type in 'cmd' and enter it i get the cmd.exe program with no error message but both programs tell me the same thing when i try to run a command like 'ipconfig'
they both say "ipconfig is not a recognised internal or external command, operable program or batch file".
Any tips??


0

Response Number 4
Name: Mechanix2Go
Date: June 18, 2005 at 07:12:45 Pacific
Reply:

No idea why command.com is getting involved with Symantec.

As to ip config, it should be in your path.

You can find out if it's on the drive with this:

attrib /s \ipconfig.*

If it's there, check your path:

Path
[enter]

M2


If at first you don't succeed, you're about average.


0

Response Number 5
Name: StuartS
Date: June 18, 2005 at 07:47:02 Pacific
Reply:

I have no idea why Semantic should be getting involved. I would try reinstalling whatever Semantic applications you have.

The difference between Cmd and Command is that Cmd is a full blown 32 bit command interpretor. Command, or command.com, is the 16 bit DOS version. Command com is needed to run some DOS programmes under Win XP.

Try changing folders to a folder with a long file name under command.com and you will see the difference. You have to use the abbreviated short file name version.

Stuart


0

Related Posts

See More



Response Number 6
Name: Mechanix2Go
Date: June 18, 2005 at 08:14:31 Pacific
Reply:

Hi Stuart,

Well,

Dunno about XP but in w2k, using command.com I still get LFNs

*** screen shot

18-01-2005 12:27 <DIR> MP3Producer
04-06-2003 16:10 <DIR> Microsoft Office
1 File(s) 34 bytes
50 Dir(s) 243,515,392 bytes free

C:\PROGRA~1>set
COMSPEC=C:\WINNT\SYSTEM32\COMMAND.COM
***

M2


If at first you don't succeed, you're about average.


0

Response Number 7
Name: StuartS
Date: June 18, 2005 at 08:28:49 Pacific
Reply:

Yes, you get LFNs with a Dir listing in both Cmd and Command.

But the command prompt itself doesn't show in LFN format.

C:\PROGRA~1>set

Under Cmd that would be

c:\Programe Files

to change directory under command you would have to type

cd progra~1

under Cmd

cd Program Files

Stuart


0

Response Number 8
Name: Mechanix2Go
Date: June 18, 2005 at 08:37:30 Pacific
Reply:

Hi Stuart,

Yeah, that's what I'd expect.

But

*** screen shot

C:\PROGRA~1>set c
CommonProgramFiles=C:\Program Files\Common File
COMPUTERNAME=BIG933
ComSpec=C:\WINNT\system32\cmd.exe
***

Beats me.

M2


If at first you don't succeed, you're about average.


0

Response Number 9
Name: StuartS
Date: June 18, 2005 at 10:58:26 Pacific
Reply:

Running Set under Command and Cmd produces a variety of results showing little consistency. The only SFN under Cmd is the Temp variable.

Under Command the only LFNs are the Homepath and Path variables. The rest are SFNs.

I suspect whether it show LFNs or SFNs is dependant on what set the Environmental Variable in the first place.

Stuart


0

Response Number 10
Name: Mechanix2Go
Date: June 18, 2005 at 11:08:47 Pacific
Reply:

Hi Stuart,

The point was to show the comspec.

Notice that even in CMD the prompt is:

C:\PROGRA~1>

M2


If at first you don't succeed, you're about average.


0

Response Number 11
Name: StuartS
Date: June 18, 2005 at 12:06:08 Pacific
Reply:

Not on Windows XP. Windows Xp shows the full path name under Cmd.


C:\Documents and Settings>SET C
CLIENTNAME=Console
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=SATURN
ComSpec=C:\WINDOWS\system32\cmd.exe

C:\Documents and Settings>

Stuart


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: command prompt?

command prompt hangs in XP www.computing.net/answers/windows-xp/command-prompt-hangs-in-xp/63697.html

Command Prompt insertion? www.computing.net/answers/windows-xp/command-prompt-insertion/28966.html

Command Prompt www.computing.net/answers/windows-xp/command-prompt/142020.html