Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Odd Files Left Over After SP1 - Can't Delete (Long Paths)

11 May 2014   #11
gregrocker

 

Nice to know Unlocker worked for you. It's helped out here in the past.

Avoid TuneUp Utilities however as it and all other tweaking suites cause problems.


My System SpecsSystem Spec
.
07 Aug 2017   #12
mrjimphelps

Linux Mint 18.2 xfce 64-bit (VMWare host) / Windows 8.1 Pro 32-bit (VMWare guest)
 
 

For future reference, you could use the SUBST command to assign a drive letter to a long path. This will shorten the path, allowing you to run the commands.

Open a command prompt. Run the SUBST command -- put the actual path, rather than c:\aaaaaaaaaaa.... -- but leave out the actual folder name that you want to delete, so that the path will get you to that folder but won't include it.

SUBST x: c:\aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\bbbbbbbbbbbbbbbbbbbbbbbbbb\cccccccccccccccccccccccc\etc

Now, change to that folder by typing X: <ENTER>

Type DIR <ENTER>. You should see the folder listed that you want to delete. Delete it.

The thing that makes this work is that your path will be three characters long, plus the name length of the folder you want to delete, plus one backslash (""), well within the maximum allowable path length.
My System SpecsSystem Spec
Closed Thread

 Odd Files Left Over After SP1 - Can't Delete (Long Paths)




Thread Tools




Similar help and support threads
Thread Forum
Dos paths and unix paths conversion
I guess this may be a tiny bit off the subject here, but I am attempting this in windows 7. I have a program file manager tool called 'Directory Opus' that is capable of calling windows external programs and passing them the current directory the file manager is sitting on. So far so good. ...
General Discussion
Is it safe to delete Temp files with long numbers in front?
Hello Guys and Gals - hope someone out there can help? I have noticed that my laptop is not operating up to par over the past few months - HP Pavilion g7 4 GB Memory x64 Windows 7 - bought in Jan 2012. Periodically things don't work right - Sep'12 on I experienced Blue screen and now when...
Performance & Maintenance
Changing from double left click to open files to a single left click
How do I change from a double left click to open files or Icons to a single left click?
Installation & Setup
BSOD when computer is left on too long, or when trying to shut down
BSOD appears with the comment "DRIVER_POWER_STATE_FAILURE" Win 7 Home Premium x64 (pre-installed) New HPdv6-6c40us purchased in March. This is a new computer, it shouldn't be having any issues? Re: Attachments, I have included the Windows NT6 BSOD jcgriff2 folder as noted in the BSOD...
BSOD Help and Support
Why so long to delete files from external HDD?
I'm doing some work on my brother in law's laptop. I used his external HDD to create a system image which worked fine. I also see backups from computers he doesn't even have anymore that are old, some from as far back as 2003. Anyway, when I selecet them and hit delete, it takes 20 minutes or more...
General Discussion
Windows Explorer Auto Suggest - Delete Typed Paths
How to Delete Typed Paths in Windows Explorer Auto Suggest Drop Down List This will show you how to delete items included in the auto suggest drop down list from when you had typed valid paths previously in the Windows Explorer (Vista and Windows 7) or File Explorer (Windows 8) address bar and...
Tutorials


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 07:37.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App