Pure CMD – Windows To Cygwin Path

@echo off
rem  support UTF-8 names
chcp 65001
rem  first arg ("~" removes the [\'\"] wrapping)
set CURRENT=%~1
rem  backward-slash to forward-slash
set CURRENT=%CURRENT:\=/%
rem  remove ":" after the drive letter
set CURRENT=%CURRENT::/=/%
rem  adds cygwin-dummy path "/cygdrive/" prefix
set CURRENT=/cygdrive/%CURRENT%


rem  only output if it is a real folder... (check disabled since we don't care..)
::  IF NOT EXIST %CURRENT%\NUL ( 
::    goto NOT_FOLDER
::  ) 

echo %CURRENT%

::  :NOT_FOLDER