1.

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

Answer»

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.




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

you don't need the cd

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:\>
may i ask what are you trying to do EXTRACT files run cd what...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



Discussion

No Comment Found