• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Having an NT problem

 
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone know how I can get my console window to go to a proper directory?
It is using H:\ as its default (this is a backup server) and I want to be able to use C:\ but when I try to use cd C:\Foldername I just get ignored.
Anyone any ideas?
Ta
 
whippersnapper
Posts: 1843
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
c:
cd foldername
First get to the drive, then navigate to the folder you want.
 
Amy Phillips
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I then get the very useful response of:
H:\>cd C:
C:\
H:\> with the cursor being here
 
Chicken Farmer ()
Posts: 1932
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't cd C:, just type C:
 
Amy Phillips
Ranch Hand
Posts: 280
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ahh I've got it
Thanks you two I might be able to get some of my java done at work now
 
hired gun
Posts: 250
MS IE Oracle Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Amy Phillips:
... but when I try to use cd C:\Foldername I just get ignored.


Actually you're not being ignored, it's just that the system has no visual way to show it's success other than to prompt you with H:> again.
If you're on the H: drive and type in cd c:\winnt and then type in c: to change drives you will find that c: is at \winnt showing you're cd command worked on c:
 
Ranch Hand
Posts: 1340
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can place a shortcut of CMD.EXE on your desktop (on my PC, CMD.EXE is at C:\WINNT\system32\CMD.EXE).
Then right click the shortcut and select Properties.
Under the Shortcut tab in the Start in field you can enter the path of the directory you want to start in each time you use the shortcut.
I use Win 2000 Prof, so should be very similar for NT I think.
[ May 22, 2003: Message edited by: Richard Hawkes ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic