Changes

Windows Command Shell

905 bytes added, 16:03, 17 October 2007
The following lines were added (+) and removed (-):
== command.com ==  == Command Interpreters: command.com versus cmd.exe == === command.com ===== cmd.exe ===== cmd.exe === == DOS FTP ===== Batch FTP Upload ===By using the "mget/mput" commands along with a wildcard filename, youcan get or put multiple files with DOS FTP. Below is an example.ftp> mput *.htmlOur example uploads all *.html files to the server.  You have to verifyevery file's upload by typing, "y" or "n".  There is a way around this.  Usethe "-s:filename" switch of DOS FTP.The "-s" switch tells DOS FTP to use a text file as input instead of thecommand prompt. All you have to do is put the commands you want DOS FTP toexecute in the text file. Below is an example. (Note: Replace the "[**]" withyour info.) open [*your.ftp.server*] [*your_login*] [*your_password*] lcd C:\myhtmlfiles mput *.html y y y [*as many 'y's as there are HTML files to transfer*] bye C:\>ftp -s:mysiteftp.txt  
Bureaucrat, administrator
16,192
edits