path too long

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a file whose path exceeds 256 characters. How can I delete it?

I tried deleting via Explorer and with "del" in a command window. In the
command window, I tried quoting the path.

This is the path:

C:\Do-not-use-this-barn--See-H-drive\Employment\RESUME\Textbooks\volunteering_files\site=mons&affiliate=teve&app=technology&size=728x90&pp=1&path=%2Farticles%2Fitexperience%2Findex%2Easp&state=53&dccl=12&uid=12102483&moc=101750&fi=Robert&ge=1&_files\728AEFA2.gif
 
Angbob said:
I have a file whose path exceeds 256 characters. How can I delete it?

I tried deleting via Explorer and with "del" in a command window. In the
command window, I tried quoting the path.

This is the path:

C:\Do-not-use-this-barn--See-H-drive\Employment\RESUME\Textbooks\volunteering_files\site=mons&affiliate=teve&app=technology&size=728x90&pp=1&path=%2Farticles%2Fitexperience%2Findex%2Easp&state=53&dccl=12&uid=12102483&moc=101750&fi=Robert&ge=1&_files\728AEFA2.gif

Open the command window again, and instead of trying to delete the
file right away by quoting the entire path, use the CD (Change
Directory) command to navigate to the directory where the file
resides. Then you can type only the name of the file on the "del"
command. Go one dir at a time to minimize the effect of typos:

cd "Do-not-use-this-barn--See-H-drive"
cd Employment
CD RESUME

etc, etc
Tim Slattery
MS MVP (Shell/User)
http://members.cox.net/slatteryt
(e-mail address removed)
 
Hi Tim,

It will not work :) because del command will try to delete in specific -
full path.

Here problem is with long name of folder - you need change it's name to an
short and then you will able delete file.

Checked on Polish Windows.

Marcin Domaslawski
 

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

Similar Threads


Back
Top