The problem is not simply working directly on a USB drive. Although that is one of the worst ways to use a USB. The real problem is how WINDOWS handles USB / Flash / Thumb drives.
Ideally this is the process you should use:
- should copy (rather than "Move") the file from USB to local drive (gives you a backup on USB),
- do your editing,
- copy the file back to your USB (now you have a backup on your local drive)
- use the Windows 'Safely Remove ..." process to shut down the USB BEFORE unplugging it.
The "Safely Remove ... " step is the part of the process is what prevents the error.
Here are some articles with more details:
Potential Causes of DOCX Corruption - Problems saving to USB Devices - safely eject
Windows does not write files directly to a USB flash drive / thumb drive. Due to technical limitations of Flash memory, files are first saved in a cache on the HD. When a full “block” worth of data is available, it is only then moved to the USB
device. When you shut down the USB Device “Properly”, Windows flushes any partial files from the cache to the USB. In the following link, Tony J says that his experience is that the most important part of the DOCX files, the text content in the DOCUMENT.XML
sub file, is usually located at the end of the file structure. So it is the text content that gets left behind.
**http://social.answers.microsoft.com/Forums/en-US/wordcreate/thread/73a1e1b0-e6cf-43b8-a97f-0b01b5c33da3/******
This discussion is primarily about missing XML tags, but on page 2 it also discusses the effects of pulling USB devices without stopping them correctly
Why use “Safely Remove” function
**http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B328856**
**http://word.tips.net/T000132\_Dont\_Work\_Off\_Floppies.html******
How to Safely Remove USB
**http://etc.usf.edu/techease/win/hardware/how-do-i-safely-remove-a-usb-device-from-my-computer/**
**http://windows.microsoft.com/en-us/windows7/safely-remove-devices-from-your-computer Windows 7**
**http://www.dummies.com/how-to/content/how-to-safely-remove-hardware-in-windows-7.html**Windows 7
**http://www.youtube.com/watch?v=kkdm-kY3cZ4**Windows 8
There are also tips on how to turn off the caching function so you don’t have to use the Safely Remove tool
USB Safely Remove Utility
**http://safelyremove.com/**
Displaying what prevents a device from being stopped
Safe removal via hotkeys
Lets you recognize a device in a snap...
The handy menu with device icons
Real device names and the ability to rename them
Lets you hide devices you never need to stop