FG

How do I create a shortcut that opens Cygwin bash shell on a directory of my choosing (UNC especially)?

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

Problem

Given a standard installation of Cygwin for Windows XP, I would like to create a standard Explorer shortcut that opens a bash shell already open on a directory of my choosing. The directory is a UNC path. The standard cygwin.bat doesn't work because it invokes cmd.exe, and cmd.exe does not like UNC…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I create a shortcut that opens Cygwin bash shell on a directory of my choosing (UNC especially)?

Low Risk

I haven't toyed with UNC paths, but in general you have to use forward slashes instead of backslashes I believe. For regular drives, you can use for example to access the C drive. In a batch file, to open the shell to the root of you could use: You …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment