There are many software like Ccleaner, tempfilecleaner etc. To delete temporary files.but here is the trick by which you can delete temporary files without any software.
If you want to reduce the number of unnecessary files on your hard disk to free up disk space and help your computer run faster, use Disk Cleanup. It removes temporary files, empties the Recycle Bin, and removes a variety of system files and other items that you no longer need.
To delete files using Disk Cleanup
The following procedure cleans up files associated with your user account. You can also use Disk Cleanup to clean up all the files on your computer.
Open Disk Cleanup by clicking the Start button . In the search box, type Disk Cleanup, and then, in the list of results,
click Disk Cleanup
In the Drives list, click the hard disk drive that you want to clean up, and then click OK.
In the Disk Cleanup dialog box, on the Disk Cleanup tab, select the check boxes for the file types that you want to delete, and then click OK.
In the message that appears, click Delete files.