help with windows command prompt CD problem

Problems? Post here...
Post Reply
babagabble
forum buddy
forum buddy
Posts: 11
Joined: 10 Dec 2010, 17:38
13

help with windows command prompt CD problem

Post by babagabble »

hi all,

i only really use linux, but i'm doing some work with windows that necessitates my use of it. i have a flash drive that contains all my code and i use vim as my editor and nasm for my assembler. when i try and cd to the drive letter of the flash drive (M:\ in this case), the path i CDed to is echoed back at me, but the prompt remains at C:\
since i invoke vim, nasm, and gcc from the command line, it really would be a huge pain to have to copy everything over to C:\ and back over and over again

preemptive thanks, any ideas?

User avatar
Lundis
Distorter of Reality
Distorter of Reality
Posts: 543
Joined: 22 Aug 2008, 16:00
15
Location: Deadlock of Awesome
Contact:

Re: help with windows command prompt CD problem

Post by Lundis »

Just omit the cd command:

Code: Select all

M:
That does the trick... Don't ask me what idiot thought this was a good idea... :D

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: help with windows command prompt CD problem

Post by bad_brain »

to change to another drive there is no need for the cd command, all it needs to change to the D:\ partition for example is:

Code: Select all

d:
:wink:

edit:
well played Lundis...next time I will win... [-( :lol:
Image

Post Reply