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)