command line question...

Reply

Join Date: Mar 2008
Posts: 43
Reputation: herms14 is an unknown quantity at this point 
Solved Threads: 0
herms14's Avatar
herms14 herms14 is offline Offline
Light Poster

command line question...

 
0
  #1
Apr 9th, 2008
I just want to ask how do I access other drives in my computer using the command line. For example I would like to access the files in my flash drive how do I do it? I tried to use the change directory command ( cd <drive name>) but I cant access it..thanks ...^_^
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 1,763
Reputation: DimaYasny will become famous soon enough DimaYasny will become famous soon enough 
Solved Threads: 85
Moderator
Featured Poster
DimaYasny DimaYasny is offline Offline
Posting Virtuoso

Re: command line question...

 
0
  #2
Apr 9th, 2008
c:
d:
e:
f:
... consult 1st grafe alphabet textbook for the rest
Real stupidity always beats Artificial Intelligence. (Terry Pratchett)

BA BizMg, MCSE, DCSE, Linux+, Network+
Reply With Quote Quick reply to this message  
Join Date: Aug 2003
Posts: 9,592
Reputation: caperjack is a splendid one to behold caperjack is a splendid one to behold caperjack is a splendid one to behold caperjack is a splendid one to behold caperjack is a splendid one to behold caperjack is a splendid one to behold caperjack is a splendid one to behold 
Solved Threads: 496
Team Colleague
caperjack's Avatar
caperjack caperjack is offline Offline
Posting Prodigy

Re: command line question...

 
0
  #3
Apr 9th, 2008
Originally Posted by DimaYasny View Post
c:
d:
e:
f:
... consult 1st grafe alphabet textbook for the rest
somehow i don't think thats the correct answer !
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 323
Reputation: compdoc is an unknown quantity at this point 
Solved Threads: 21
compdoc's Avatar
compdoc compdoc is offline Offline
Posting Whiz

Re: command line question...

 
0
  #4
Apr 9th, 2008
if your drive you are trying to access is F:
then type F: in the command line and press enter
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 1,763
Reputation: DimaYasny will become famous soon enough DimaYasny will become famous soon enough 
Solved Threads: 85
Moderator
Featured Poster
DimaYasny DimaYasny is offline Offline
Posting Virtuoso

Re: command line question...

 
0
  #5
Apr 9th, 2008
Originally Posted by caperjack View Post
somehow i don't think thats the correct answer !
somehow I think you are wrong
Real stupidity always beats Artificial Intelligence. (Terry Pratchett)

BA BizMg, MCSE, DCSE, Linux+, Network+
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 3,204
Reputation: gerbil will become famous soon enough gerbil will become famous soon enough 
Solved Threads: 188
gerbil gerbil is offline Offline
Nearly a Senior Poster

Re: command line question...

 
0
  #6
Apr 11th, 2008
Dima has given you the way to start Explorer in the drive of your choice.
If you want to explore the drive from the command line then you do this....
Start, run, type cmd, and enter.
Okay, you are now in a [black] command window, the prompt will be C:\Docs and Setts\User>
To go to another drive eg E:\, you just type...
cd /d e:\ [to change drives you must use the /d switch]
If you then type ..
cd /d c: you will end up back in the D and S\User spot... cd /d c:\ will put you into c: root.
Type... dir |more to get a directory or file list in the drive of your choice.
Type ... dir /? to get a helping hand... or /? with any command...
Deep, deep in the woods, but walking about.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 1,763
Reputation: DimaYasny will become famous soon enough DimaYasny will become famous soon enough 
Solved Threads: 85
Moderator
Featured Poster
DimaYasny DimaYasny is offline Offline
Posting Virtuoso

Re: command line question...

 
0
  #7
Apr 11th, 2008
to go to any drive letter in cmd, typing the drive letter and a colon is enough
Real stupidity always beats Artificial Intelligence. (Terry Pratchett)

BA BizMg, MCSE, DCSE, Linux+, Network+
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 3,204
Reputation: gerbil will become famous soon enough gerbil will become famous soon enough 
Solved Threads: 188
gerbil gerbil is offline Offline
Nearly a Senior Poster

Re: command line question...

 
0
  #8
Apr 11th, 2008
True, dima. Ah well, now he also knows how to change drive and directory at the same time as well.
Deep, deep in the woods, but walking about.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 1,763
Reputation: DimaYasny will become famous soon enough DimaYasny will become famous soon enough 
Solved Threads: 85
Moderator
Featured Poster
DimaYasny DimaYasny is offline Offline
Posting Virtuoso

Re: command line question...

 
0
  #9
Apr 11th, 2008
I mean the '/d' switch is useless uless you're writing a very complex script, and those usually use absolute paths anyway
Real stupidity always beats Artificial Intelligence. (Terry Pratchett)

BA BizMg, MCSE, DCSE, Linux+, Network+
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 3,204
Reputation: gerbil will become famous soon enough gerbil will become famous soon enough 
Solved Threads: 188
gerbil gerbil is offline Offline
Nearly a Senior Poster

Re: command line question...

 
0
  #10
Apr 11th, 2008
If you were in one directory, say E:\Program Files and wanted to jump to D:\Scratch Pad you would have to use the /d switch in a command like..
cd /d d:\scratch pad otherwise the cmd would be ignored.
Deep, deep in the woods, but walking about.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Windows NT / 2000 / XP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC