Installation problems!

Ijust finished building my new comjputer and I have been exposed to a few probems while installing W98.
Windows used to exist on my hardrive before and I need to delete the windows directory because when I re-install it it makes a new directory called windows.000 and still boots off on windows..
1. how do I deleter directories in DOS? do I erase all on my hardrive execpt on directory in DOS? do I rename a directory in DOS


Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If you don't need anything previously installed, just format your hard drive and start fresh.
To get around having windows install in the windows.000 directory, there are a few things you need to do.  If you need to keep the DOS directory, go into each directory in the root directory and type deltree *.* .  then delete that directory and continue doing this until the hard drive is clear.

cd windows.00
deltree *.*
cd ..
rd windows.000

cd progra~1
deltree *.*
cd ..
rd progra~1

Note: Deleting the progra~1 directory in dos deletes your program files directory in windows.  Unless you plan to reinstall everything (Which if you have to reinstall windows, you'll have to do anyway) don't delete this directory or at least get your saved files from it before you delete.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I seem to recall that the MOVE command can be used under DOS to rename directories
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.