Re: Using Command Lines in Windows
- From: Alice Wei <AliceWei@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 25 Jun 2008 05:20:01 -0700
Hi,
Yes, that is what I wanted to do. However, my question is that I needed to
be able to run stuff that is not in C in my hard drive. My command line
prompt set up give me
U:>
whenever I open up the prompt. Is it possible to change it to something like
C: using cd?
Thanks for your help.
"John H" wrote:
Not sure what you are doing to shell to your command prompt, but in.
>Programs >Accessories
there is a command prompt line that works basically the same as good old
dos.
Assuming you are using that, then same as for dos namely:
If say your home directory is d:\fred,
then to go to C drive type c:\ and hit enter key
then to change to any other folder in C drive, typing cd\fred and hit enter
keywill take you to c:\fred,
to go further out is slightly different to go from c:\fred to c:\fred\nerk,
then in c:\fred, type cd nerk and hit enter key this should take you to
c:\fred\nerk
Now if you want to go back to c:\fred from there, type cd.. and hit enter
key and you will go back one level to c:\fred
If you were in c:\ and wanted to go straight to c:\fred\nerk then you would
type cd\fred/nerk and hit enter key and
if you were in c:\fred\nerk and wanted to go to c:\ then you would type cd\
*** If the folder name exceeds 8 characters you may have to use the tilde ~1
convention,
such as c:\abcdefghijklm would be typed as c:\abcdef~1 (where the total
characters equal total of 8 including the tilde & the 1)
Have fun
John H
"Alice Wei" <AliceWei@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C4059000-986B-4977-978F-D5EB438D1132@xxxxxxxxxxxxxxxx
Hi,
I have been using the OS system a lot more in command line environments,
and now I have to use Windows to do this. I wonder if anyone could tell me
how I can change the directory when I am in the command line environment.
My home directory prompts a different drive number when I open up the
shell, and it is not a C. The files I need to run are all in C drive. Is
there some way I can do something like cd in Windows?
Thanks in advance.
- Follow-Ups:
- Re: Using Command Lines in Windows
- From: John McGaw
- Re: Using Command Lines in Windows
- References:
- Re: Using Command Lines in Windows
- From: John H
- Re: Using Command Lines in Windows
- Prev by Date: Re: Create XP Boot/Repair/Install CD?
- Next by Date: Re: Using Command Lines in Windows
- Previous by thread: Re: Using Command Lines in Windows
- Next by thread: Re: Using Command Lines in Windows
- Index(es):
Relevant Pages
|