Results 1 to 2 of 2

Thread: Windows XP, Vista, 7 Remove document residue from Office easily and thoroughly

  1. #1
    Filipa Godofred is offline Senior Member
    Join Date
    May 2011
    Posts
    221
    Rep Power
    3

    Default Windows XP, Vista, 7 Remove document residue from Office easily and thoroughly

    If an Office document is not closed properly then a backup file remains in the system. You delete this data trash manually once in a while, but want to automate this job.

  2. #2
    Faqueza Nekane is offline Senior Member
    Join Date
    May 2011
    Posts
    224
    Rep Power
    3

    Default

    While opening a document, Word and its counterparts generate temporary files for their work, for backup copies and for the contents of the clipboard. Properly closing programs and documents deletes these temporary files automatically. However after a computer crash the temporary files are hidden in the backup folder of the document. You need to delete these once in a while, as the data residuals occupy unnecessary space and tend to accumulate over time. Typical files of temporary copies begin with '-$' followed by the normal file name. Numbered files with '-WRl: at the beginning of the name are saved copies of the contents of the clipboard.

    The simplest way is to delete these files with the command 'del' (delete) from the command line. Thus to have the correct instructions on hand, generate a small batch file using a text editor like Notepad. Enter following command lines:Change the path in the first line so that it refers to the folder where you usually save your Office documents.

    The option 'Id' is necessary so that even the drive can be changed. The command options for 'del' take care, that Windows includes all sub-folders ('s') and restricts the choice of files with the attribute "hidden" ('ah'). The characters '-*.*' tell the command to select all file names beginning with the tilde. Save the file with a recognizable name, such as 'officeclean.bat' and take care that the BAT extension is correct.

    Never forget the tjlde, or all files matching the "hidden" criteria will be deleted by mistake. Before executing the batch file ensure that all the programs are closed, as the temporary files deleted by it are necessary during operation. Start the batch file by a double click. You can also store a shortcut on the desktop for frequent operation.

Similar Threads

  1. Replies: 4
    Last Post: 04-28-2011, 08:47 PM
  2. How to Remove Word Returns from an Excel Document
    By jenefer65 in forum Software Jargons
    Replies: 0
    Last Post: 12-09-2009, 05:48 PM
  3. Scan a document from Windows Vista
    By ABEDNEGO87 in forum Windows Vista
    Replies: 1
    Last Post: 11-25-2009, 01:57 PM
  4. Replies: 0
    Last Post: 10-16-2009, 06:31 PM
  5. Replies: 0
    Last Post: 10-06-2009, 06:02 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48