Solved

How to change the command prompt start point.

Posted on 2004-04-15
6
246 Views
Last Modified: 2010-04-13
When I open the command prompt I want it to start at the root of c: not my current directory point (C:\documents and settings\%user>)

How do I do this?
0
Comment
Question by:Treasur2
  • 5
6 Comments
 
LVL 7

Expert Comment

by:IceRaven
ID: 10839699
These are set in the %homepath% and %homedrive% enviroment variables.  To change these in Win2000


A. Click Start > Settings > Control Panel.
B. Double-click the System icon.
C. Select the Advanced tab.
D. Select the Environment Variables button.
E. Add, edit or delete a variable.
F. Click OK.

Cheers,
IceRaven
0
 
LVL 7

Expert Comment

by:IceRaven
ID: 10839707
So in your case

homedrive = c:
homepath = \

IceRaven.
0
 
LVL 7

Accepted Solution

by:
IceRaven earned 500 total points
ID: 10839743
If you are using a shortcut to access your command prompt.

Make sure the working folder is c:\

This is set by right clickin the shortcut and clicking properties.

IceRaven.
0
[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

 
LVL 7

Expert Comment

by:IceRaven
ID: 10839752
Infact changeing the shortcut properties would be best because changeing the homepath may have other consiquences of which I am not aware.  I use the WinXP commandprompt powertoy myself.

IceRaven.
0
 

Author Comment

by:Treasur2
ID: 10839828
Shortcut did the trick. Thanks.
0
 
LVL 7

Expert Comment

by:IceRaven
ID: 10839847
Gad to have helped :)

IceRaven.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
A customer recently asked me about anti-malware and the different deployment options available for his business. Daily news about cyberattacks, zero-day vulnerabilities, and companies that suffered a security breach made him wonder if the endpoint a…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now