FG
💻 Software

How to delete a folder containing trailing spaces

Fresh5 days ago
Mar 15, 202623734 views
Confidence Score0%
0%

Problem

I have a bunch of folders on my hardrive that have trailing spaces in them (I have no idea how they got there). I need to rename and/or delete them, but Windows won't allow me to do this. Is there a way around this problem? I've tried to delete it via the commandline, but that did not work. I'm run…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to delete a folder containing trailing spaces

Low Risk

First try some quoting: Then UNC paths: Then try adding a trailing [back]slash: Then 8.3 names (if they are enabled on your system): Then a Linux LiveCD:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment