Re: GRAHAM MAYOR - Re: Macro in Normal.dot prevents Word opening
- From: Shane <write.it@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 03 May 2007 17:13:42 +1000
As far a batch files go, this is one I use to delete the annoying temp
files.
@echo off
cd /d "c:\"
if /i "%cd%"=="C:\" del /s /f /q ~*.do? 1>nul 2>&1
It changes to the root of c: drive then recursively deletes temp files
without echoing to the screen. Run via a Task Scheduler to keep you
c: drive clean.
HTHs
Cheers
Shane
On Thu, 3 May 2007 09:00:58 +0300, "Graham Mayor"
<gmayor@xxxxxxxxxxxxxxxxxx> wrote:
Basically the batch file is intended to simplify the removal of temporary.
files left when Word crashes.
The temporary files are created in any document folder related to an open
document
The user template folder (tools > options > file locations > user templates)
The Word startup folder (tools > options > file locations > startup)
The Office startup folder (C:\Program Files\Microsoft
Office\Office11\Startup)
The Windows Temp folder (C:\Documents and Settings\<username>\Local
Settings\Temp)
and any folder related to an add-in in use (eg SnagIt).
If you are creating the batch file (which is more convenient than essential)
you need to identify each folder that contains the files that need to be
moved on your PC and insert the paths in the batch file.
If you are uncomfortable with DOS, as an alternative to creating the batch
you could simply search with Windows Explorer for
~*.do?
- References:
- Macro in Normal.dot prevents Word from opening or debugging!
- From: Fern
- Re: Macro in Normal.dot prevents Word from opening or debugging!
- From: Jay Freedman
- Re: Macro in Normal.dot prevents Word from opening or debugging!
- From: Fern
- Re: Macro in Normal.dot prevents Word from opening or debugging!
- From: Graham Mayor
- Attn: GRAHAM MAYOR - Re: Macro in Normal.dot prevents Word opening
- From: Fern
- Re: GRAHAM MAYOR - Re: Macro in Normal.dot prevents Word opening
- From: Graham Mayor
- Macro in Normal.dot prevents Word from opening or debugging!
- Prev by Date: Re: Doc descriptions that are visible in folder's "Details" view?
- Next by Date: Re: Setting up headers & footers in Word from Excel
- Previous by thread: Re: GRAHAM MAYOR - Re: Macro in Normal.dot prevents Word opening
- Next by thread: Re: GRAHAM MAYOR - Re: Macro in Normal.dot prevents Word opening
- Index(es):
Relevant Pages
|