I have been trying to format my 4gb LG flash drive but i keep geting the message "cannot remove file the directory is not empty" and if i check the disk properties,the size will stil be reduced up 2gb of the 4gb.please i need help to format this disk.

Your LG flash has virus.. you need to remove the virus first before you can format the disk. I think the virus is preventing your flash to be formatted. try installing an antivirus to your computer. Though you may find it inconvenient to have to run virus scans and worry about the security of your computer, you'd have more to worry about without proper anti-virus protection.
To read more about this try looking here : http://www.techyv.com/article/5-best-antivirus-software

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.