ConEmu/CMDER alias snippet to transform Windows paths into Unix paths and save new path to clipboard.
:: an alias I use with ConEmu/Cmder on windows
:: takes a path formatted windows style and converts it to
:: unix/web style and then copies it to the clipboard
::
:: requires sed.exe (several versions available online)
::
:: example usage:
::
:: *assuming the current directory is C:\Windows\System32*
::
:: slash %cd%
::
:: my clipboard would now contain C:/Windows/System32
slash=@echo $1|d:\bin\sed "s/\\/\//g"|clip