Skip to content

Instantly share code, notes, and snippets.

@marcells
Created June 18, 2013 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcells/5810096 to your computer and use it in GitHub Desktop.
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)
@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'
@marcells
Copy link
Author

You'll find the dnydns auto login script here: https://github.com/mindfuckup/Scripts/blob/master/dyndnslogin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment