on my external harddrive, someone told me to defragment it..
and so, i did.
however, when i got on my computer the next day..
i cant seem to get into my external harddrive.
it's telling me to format it.

is there any other way besides formatting?
cuz i dont want to have all of my files deleted

When you say 'external' I take it is USB drive.
I have couple of questions for you:

Were you there when defragmentation took place?
What defragmenter was used?
Was it interuppted?
Was it on the same (your) machine?
If not did you try to plugg it in the machine that defragmnted it?
Does your machine support USB 2.0?
Did you try scandisk?

If you didn't do anything with the drive after defragmentation I suggest you do not try scandisk until all other possibilites were tried.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.