Created
June 18, 2013 22:33
-
-
Save marcells/5810096 to your computer and use it in GitHub Desktop.
Execute dyndnslogin bash script from windows command promt. (Script: https://github.com/mindfuckup/Scripts/blob/master/dyndnslogin)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
SET CYGWIN_BASH=D:\cygwin\bin\bash.exe | |
SET DYNDNS_SHELLSCRIPT_PATH=c:/path/to/dyndnslogin.sh | |
%CYGWIN_BASH% --login -c '%DYNDNS_SHELLSCRIPT_PATH%' | |
REM You can also use optional arguments (if the script is modified) | |
REM %CYGWIN_BASH% --login -c '%DYNDNS_SHELLSCRIPT_PATH% username password' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You'll find the dnydns auto login script here: https://github.com/mindfuckup/Scripts/blob/master/dyndnslogin