Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
Nicole Nicole is offline
external usenet poster
 
Posts: 43
Default How to Delete file that says "The directory name is not valid"?

How do I Delete a file that says "The directory name is not valid"? I have a
whole list of files that state that and I want to get them off of my Recent
Documents list.
  #2   Report Post  
Posted to microsoft.public.word.newusers
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default How to Delete file that says "The directory name is not valid"?

Word 2003

If you want to delete them all then set tools options general recently
used files to 0, confirm the change, then change it back to the number it
was previously.

See also http://www.gmayor.com/clear_recently_used_file_list.htm

If you want to selectively delete, then it gets altogether more complicated,
but friend and fellow MVP Greg Maxey has done all the work - see
http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm

Word 2007

The list is stored in the registry at
HKEY_CURRENT_USER\Software\Microsoft\Office\12\Wor d\FileMRU, from where you
can delete individual entries
or
You can use the following macro which will reset the list to your preset
preferred number of displayed documents:

Sub ClearMRU
Application.DisplayRecentFiles = True
listsize = RecentFiles.Maximum
RecentFiles.Maximum = 0
RecentFiles.Maximum = listsize
End Sub

See http://www.gmayor.com/installing_macro.htm
or again to edit the list see
http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Nicole wrote:
How do I Delete a file that says "The directory name is not valid"? I
have a whole list of files that state that and I want to get them off
of my Recent Documents list.



  #3   Report Post  
Posted to microsoft.public.word.newusers
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default How to Delete file that says "The directory name is not valid"?

Actually, if we're just talking about the File menu MRU (in Word 2003 and
earlier), they can be selectively deleted using Alt+Ctrl+Hyphen.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Graham Mayor" wrote in message
...
Word 2003

If you want to delete them all then set tools options general
recently used files to 0, confirm the change, then change it back to the
number it was previously.

See also http://www.gmayor.com/clear_recently_used_file_list.htm

If you want to selectively delete, then it gets altogether more
complicated, but friend and fellow MVP Greg Maxey has done all the work -
see http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm

Word 2007

The list is stored in the registry at
HKEY_CURRENT_USER\Software\Microsoft\Office\12\Wor d\FileMRU, from where
you can delete individual entries
or
You can use the following macro which will reset the list to your preset
preferred number of displayed documents:

Sub ClearMRU
Application.DisplayRecentFiles = True
listsize = RecentFiles.Maximum
RecentFiles.Maximum = 0
RecentFiles.Maximum = listsize
End Sub

See http://www.gmayor.com/installing_macro.htm
or again to edit the list see
http://gregmaxey.mvps.org/Recent_Files_List_Editor.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Nicole wrote:
How do I Delete a file that says "The directory name is not valid"? I
have a whole list of files that state that and I want to get them off
of my Recent Documents list.




  #4   Report Post  
George Kovacs George Kovacs is offline
Junior Member
 
Posts: 1
Default

Quote:
Originally Posted by Nicole View Post
How do I Delete a file that says "The directory name is not valid"? I have a
whole list of files that state that and I want to get them off of my Recent
Documents list.
Open Start Search, enter "regedit" select "HKEY CURRENT USER", select "Software", select "Microsoft", select "Office", select "12.0", select "Word"
select "File MRU" Open it, right click on the file you want to delete.
  #5   Report Post  
Joshua Brings Joshua Brings is offline
Junior Member
 
Posts: 1
Talking

Quote:
Originally Posted by Nicole View Post
How do I Delete a file that says "The directory name is not valid"? I have a
whole list of files that state that and I want to get them off of my Recent
Documents list.
I know that this has been an old thread however if you have some problem like this, you an try using the Long Path Tool. It will usually save issues with file deleting, file renaming and file copying. Restrictions issues are usually fixed too.


  #6   Report Post  
lslizzysmith lslizzysmith is offline
Banned
 
Posts: 1
Default

Quote:
Originally Posted by Joshua Brings View Post
I know that this has been an old thread however if you have some problem like this, you an try using the Long Path Tool. It will usually save issues with file deleting, file renaming and file copying. Restrictions issues are usually fixed too.

Recently, I have gone through a website where I get to know about a tool name as Stellar Bitraser for file software. This tool has the ability to delete data from any type of hard drive whether that drive's data is inaccessible or not.
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What does "Directory Name is Not Valid" mean when opening a doc? dunnem91 Microsoft Word Help 3 May 17th 23 08:49 AM
Why do I get "file" not a valid Single File Web Page? miamibig Microsoft Word Help 0 April 7th 08 02:11 AM
After mail merge, "File format is not valid" error when opening XLS file Bob on Whidbey Mailmerge 4 July 4th 07 10:49 AM
What does the message "the directory or file cannot be created" m. Directory or file cannot be created? Microsoft Word Help 1 September 12th 06 07:29 PM
How open attatchment that says "not a valid single file web page" Ninhhoa1 Microsoft Word Help 1 January 21st 06 08:02 AM


All times are GMT +1. The time now is 07:43 PM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"