less than 1 minute read

Map drive cygwin:
I had a dilemma whilst executing cron jobs on a box that needed some NetWare drives mapped. (This ought to work for Windows mapped drives also).
The trick is to use the good ol’ windows “net use” command.
i.e)
net use I: \kpi_fs02Data /user:username password

I was surprized this worked inside cygwin at first.

You have to use a million backslashes instead of regular UNC paths due to having to escape backslashes with a bakslash.

Updated: