Microsoft > Microsoft DOS

d:\>cd c:\program files\etc....can I do this?

(1/1)

ryan nodurft:
I am trying to go from:
d:\>
or
e:\>
or
z:\blah\blah>
(it doesn't matter which dir dos opens in)

to:
c:\program files\acad2000> dir /s/b *.dwg> filename.txt

all in one string.

Any advice would be usefull.




Muneesh Dhingra:
On your first line try
c:\program files\acad2000

you don't need the cd

ryan nodurft:
this is what happened:

H:\>c:\program files\acad2000
'c:\program' is not recognized as an internal or external command,
operable program or batch file.

H:\>

merlin_2:
may i ask what are you trying to do extract files run cd what...

yeah right:
i'm not sure that you can, why don't you create a batch file called test.bat and put these command in
"
c:
cd programfiles/acad2000

"

running this batch file should put you in the right directory every time

Navigation

[0] Message Index

Go to full version