Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Unable to delete/rename - Destination Path Too Long


  • Please log in to reply

#1
Jhazon

Jhazon

    Member

  • Member
  • PipPipPip
  • 107 posts

On my son's laptop, on the "desktop", there is a file that is "too long" and unable to delete. Error comes up "Destination Path Too Long" and typical blurb. Again, the file is located on the desktop - "This PC > Desktop"

 

I can not open the file or move it to the recycle bin....


  • 0

Advertisements


#2
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,374 posts

Hi,

 

Can you do the following please to get the short name of the file?

 

- Press windows8_key.png + R

- on the run window Copy & Paste the command:

cmd /c dir /x /A-D "%userprofile%\desktop" > "%userprofile%\desktop\log.txt"

- a black window will flash briefly and after that a new file called log.txt will be created on the Desktop

- open the log file and Copy & Paste the contents to your post

 

Please tell me the beginning of the file name you want to delete.
 


  • 0

#3
Jhazon

Jhazon

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 107 posts

For the command, just simply copy and paste? is there anything that I need to change?


Edited by Jhazon, 15 June 2015 - 05:47 AM.

  • 0

#4
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,374 posts

For the command, just simply copy and paste? is there anything that I need to change?

 

Yes, no need to change anything.


  • 0

#5
Ztruker

Ztruker

    Member 5k

  • Technician
  • 7,078 posts
You  can also try http://I'm a spammer!.com/.
  • 0

#6
Jhazon

Jhazon

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 107 posts

here is the log file:

 

 Volume in drive C has no label.
 Volume Serial Number is 3E6B-E045

 Directory of C:\Users\Jason\desktop

2015-06-14  09:57 AM            23,392 CAMERA~1.PNG Camera Button layout.png
2015-04-19  01:47 PM               282              desktop.ini
2015-06-15  09:28 PM                 0              log.txt
2015-06-15  07:37 PM             7,155 SCRATC~1.DB  scratchthumbs.db
2015-06-14  03:51 PM           117,261              Shrek2.png
2015-06-15  06:39 PM     1,665,184,113 THHT(0~1.MP4 THHT (01).mp4
2015-06-15  06:45 PM       713,981,038 THHT(0~2.MP4 THHT (02).mp4
2015-06-15  06:31 PM        54,101,889              THHT.mp4
2015-06-15  07:41 PM         6,811,136              Thumbs.db
2015-04-06  08:14 PM         2,896,027 TRGTRF~1.SB2 TRGTRFGFGVEAFHFDGIFEYUDFVRYHDGIBFYRHGVYUFIUGJVHNRIFUJGBCTRFYHGFYU54RTGF6Y54TRGF67YH4TGRF76YCGHE3RFDERDGH4YETD643EYRF74UYRF6EYRGV TEYGV63YFHCNY34RH UIDHVUDIYGCNDFHVEYRHFYEHFYRGFRYEYGVEGUEGGRGVHEGHEFGHRHGHGBEHGSEGRGJESRHGHJEHFJERHGJERHGEU.sb2
              10 File(s)  2,443,122,293 bytes
               0 Dir(s)  104,253,210,624 bytes free


  • 0

#7
Jhazon

Jhazon

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 107 posts

as you can see, the SB2 file is the issue.....


  • 0

#8
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,374 posts

Hi,

 

Ok try do delete the file using the short name TRGTRF~1.SB2

 

- Press windows8_key.png + R
- on the run window type: cmd and click ok
- a black window showing the Command Prompt type the following commands pressing Enter after each line:

cd Desktop
del /F TRGTRF~1.SB2

If the del command worked as expected the command will not return nothing and the file should disappear from the Desktop

 

In case the del command result in any error please post the output.


Edited by SleepyDude, 19 June 2015 - 02:31 AM.
Wrong parameter...

  • 1

#9
Jhazon

Jhazon

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 107 posts

upon entering second line, error came back "Invalid switch - "R".


Edited by Jhazon, 18 June 2015 - 07:16 PM.

  • 0

#10
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,374 posts

Hi,

 

upon entering second line, error came back "Invalid switch - "R".

 

Sorry its /F corrected above...


  • 0

#11
Jhazon

Jhazon

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 107 posts
✓  Best Answer

ah that worked!! SOLVED

Many thanks!


  • 0

#12
SleepyDude

SleepyDude

    Trusted Helper

  • Malware Removal
  • 4,374 posts

Good. :)

 

You are welcome.


  • 0

#13
fostersanders

fostersanders

    New Member

  • Member
  • Pip
  • 1 posts

Hey I suggest that you try Long Path Tool.

 

It´s a great tool to to fix the message that say "The specified file or folder name is too long. The URL path for all files and folders must be 260 character..."

 

I used it and had a good and fast solution to my problem.

 

Highly recommendable.

 

Hello


  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP