@echo off rem Description: rem This batch file is designed to work in conjuction with the unix-shell rem script upload-geocities.txt when this script is running in the Cygwin rem unix emulator on Microsoft Windows. The only real problem is that the rem first parameter to this batch script cannot be a relative path name, rem but rather an absolute path name. The second parameter should be the rem location of the directory on the Yahoo Geocities server where the file rem should be put. rem rem This script has a number of dependencies, inherited from the dependencies rem of the 'upload-geocities.txt' unix (bash) shell script. The major rem dependency is the 'curl' program which does almost all the hard work here. rem rem See Also: rem http://www.geocities.com/matth3wbishop/eg/unix-shell/login-geocities.txt rem This unix bash script automates the process of logging into the rem Yahoo Geocities web hosting server. This script avoids the need to rem log into the Geocities server using the web-browser interface which rem Yahoo provide for non-paying members of Geocities. Note: since I do not rem have a credit card, I am unable to pay the monthly fee to Yahoo and rem therefore cannot obtain the much simpler ftp access which they provide rem to paying members. rem rem http://www.geocities.com/matth3wbishop/eg/batch/login-geocities.txt rem This script allows the shell script of the same name to be used from rem within a Microsoft Command Console, instead of only from within a unix rem shell emulator running on Microsoft Windows (such as Cygwin) rem rem Other Notes: rem This script has been tested successfully on the Cygwin emulator in November rem 2003, however please note that if Yahoo change the login proceedure for their rem web-interface for their web-hosting servers, then this script may stop rem working. rem rem Revisions: rem November 2003 rem I created the batch script. rem C: rem chdir C:\cygwin\bin sh -i \m3b\geoftp\upload-geocities.sh %1 %2 %3 rem exit