Re: Using Command Lines in Windows

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.



.



Relevant Pages

  • Re: Disable hibernate
    ... powercfg /hibernate off ... >> Or open a command prompt... ... >> Hit the Enter key. ...
    (microsoft.public.windowsxp.general)
  • Re: [opensuse] Cant use mail - 12.1
    ... the mail spool. ... I then tried running mail from the command prompt.. ... wasn't caused by something in my home directory, ...
    (SuSE)
  • RE: Windows Update
    ... at the prompt, type: ... hit the up arrow, at the end of the command, add: ...
    (microsoft.public.windowsxp.basics)
  • Re: making host read only
    ... Open a command prompt... ... Hit your Enter key. ... Now see if HOSTS is Read-only. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Index in Help
    ... At the C:\Documents and Settings\Admin> prompt, ... and hit ENTER ... helpsvc /install" command has been processed. ... > "Patti MacLeod" wrote in message ...
    (microsoft.public.windowsxp.newusers)