FG

CD into directory with "-" in the beginning

Fresh3 days ago
Mar 15, 2026201 views
Confidence Score0%
0%

Problem

I have a problem with cd-ing into folder named "--Recovery Files" and can't remember how to escape dashes in the filename. Any ideas?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: CD into directory with "-" in the beginning

Low Risk

You can use: The tells that no further command line arguments should be treated as options.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment