(Reuters) - Dell Inc warned of a challenging second half and slashed its full-year earnings outlook as customers cut back on computer purchases ahead of the launch of Microsoft's Windows 8 software, sending its shares down more than 4 percent.