Unable to remove files - possibly exceeding path size limitation?

  • Thread starter Thread starter Jim Nehf
  • Start date Start date
J

Jim Nehf

I have data I want to remove along with the associated directories
containing the data. However, when I attempt to remove the data using
explorer it does nothing and won't allow me to select the file(s) but I can
see the files. The path is:

"C:\Documents and Settings\Jim Nehf\Desktop\Shared\LivePerson\LP ER Resource
Allocation\LivePerson\Due Diligence Documents CD\Express Response
Documentation\Feature Specification & Design Documents\ER 5.1\Test Plan -
Searchable Categories and BRs_filesC:\Documents and Settings\Jim
Nehf\Desktop\Shared\LivePerson\LP ER Resource Allocation\LivePerson\Due
Diligence Documents CD\Express Response Documentation\Feature Specification
& Design Documents\ER 5.1\Test Plan - Searchable Categories and BRs_files"

which is 251 characters including spaces and w/o the filename.

When I attempt to del any files under the same path from the command prompt,
I get the message:

"The filename or extension is too long."

The largest filename is 31 characters. The only thing I figure is that my
path is too long and it exceeds some limitation. Is there a way to fix this
issue so I can clear out the files and ultimately remove C:\...\Shared\...
directory?

Thanks.

Jim
 
Jim,

Try this:

Open a command window (Start->Run->"cmd.exe"), and use the CD command to
change to the directory level where you want to delete all files and folders
below. For example, if you wanted to delete all of the files and folder
below the "LivePerson" directory, enter the command "CD 'C:\Documents and
Settings\Jim Nehf\Desktop\Shared\LivePerson'". You may need to use single
or double quotes around the path like I did here. Then enter the delete
command with subdirectory parsing to delete all of the files and folders
below that level, i.e.: "DEL *.* /S".

You can enter "DEL /?" to learn more about using the delete command.

Reed Rinn
MS-MVP Windows Client
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top