I understand that, but you described basically the same thing without stating directly that CD shouldn't be used for cross drive reading. It's just another example of microsoft noobing stuff and I figure everyone might want to know the proper method, regardless of version of DOS.
a better command line on Windows
Collapse
X
-
-
-
Of course, I didn't start this thread to learn DOS, but thanks for that. I started this to open up other posibilities for others. Using Console2 the cd d: thing works just as I'd expect.Originally posted by NeoPaI'm sorry. I was a little inaccurate with my earlier comments.
cd d:\ will actually change the current directory FOR THE D: DRIVE, but without changing the current drive to D:.
To do the latter as well you need to use
cd /d d:\
This is because each drive letter remembers its own 'current directory' and you need the facility for changing this without necessarily changing to that drive.
Why the default is NOT to change the drive when setting the current directory I'm not sure. Probably historical.Comment
-
What, it changes the current directory on D: and also sets D: as the current drive?Originally posted by bartoncOf course, I didn't start this thread to learn DOS, but thanks for that. I started this to open up other posibilities for others. Using Console2 the cd d: thing works just as I'd expect.
(I don't find that intuitive at all, but that's probably because I learned DOS so long ago.)Comment
-
Nope. I lied. I just tried it (it works like DOS). The thing it does do is start in the directory (and has tabs so there can be many) that I want it to.Originally posted by Killer42What, it changes the current directory on D: and also sets D: as the current drive?
(I don't find that intuitive at all, but that's probably because I learned DOS so long ago.)Comment
-
I could understand that if I hadn't already posted an answer to that point.Originally posted by Killer42I can see TheMadMidget's point. Until I went and checked just now, I had no idea the /D option existed. I must remember that one.Comment
-
Not open to argument then Barton?Originally posted by bartoncOf course, I didn't start this thread to learn DOS, but thanks for that. I started this to open up other posibilities for others. Using Console2 the cd d: thing works just as I'd expect.
I'm afraid the point you made was incorrect - you were simply misusing it. You really shouldn't complain, if you bring up a point, when someone corrects your inaccuracy. If you don't want the truth - don't ask the question.
I'm happy to bash Microsoft when they get it wrong - pretending something is wrong simply because it is Microsoft is not right.
I'm assuming of course, that your
Was being ironic.Originally posted by bartoncOf course, I didn't start this thread to learn DOS, but thanks for that.
If that is not the case then accept my apology for the tone of this response.Comment
-
Yeah, that's sort of what I was referring to - the /D that you pointed out. I hadn't known about it until then, so I went and looked it up.Originally posted by NeoPaI could understand that if I hadn't already posted an answer to that point.
I can't remember what (or whether) I was thinking when I posted #21.Comment
-
You and me both Killer!Originally posted by Killer42I can't remember what (or whether) I was thinking when I posted.
I think a more public apology is called for here (for my previous post).
Barton has never said anything to deserve that tirade - please put it down to catching me at a bad time :(Comment
-
As I read it I was thinking "who got up on the wrong side of the bed this morning?" :)Originally posted by NeoPaYou and me both Killer!
I think a more public apology is called for here (for my previous post).
Barton has never said anything to deserve that tirade - please put it down to catching me at a bad time :(
I guess we all have our good and bad days.Comment
Comment