- Delete the file with the long name on the d:-drive (you can get it back from the recycle bin afterwards), or temporarily rename it to a shorter filename (the problem could be in a long path, or a long filename, or a combination).
- Boot into safe mode before running scandisk from Windows.

Please elaborate on the message in your last sentence. What message exactly, by what program, under what circumstances. You don't give enough information to help you at the moment.

Kees

Kees