Sign in with
Sign up | Sign in
Your question

How to redirect dir /b to cd?

Last response: in Windows Vista
Share
April 3, 2012 12:02:46 PM

how can i redirect the output of dir /b to cd?
for example i have one directory, i want to cd to into that directory by somehow pipeing the dir /b command into it. is it possible?

More about : redirect dir

April 3, 2012 2:33:37 PM

rictional said:
how can i redirect the output of dir /b to cd?
for example i have one directory, i want to cd to into that directory by somehow pipeing the dir /b command into it. is it possible?

dir /b > e:myfile.txt

(my flashdrive is E: in command prompt)
m
0
l
!