Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
From a complete novice...
Anyone supply me with an example NT script and how to run it on my laptop. I want a script to kick off a number of jobs, so I can extract data from a unix box overnight.
Any help appreciated. ;o)

by extract from a Unix server do you mean ftp??
you can create a .bat or .cmd file and just put dos commands in it...
If you are using FTP then you can use the -s switch to put all the ftp commands in it.. for example:
Create Get files.cmd
***Inside files.cmd ****
echo off
REM FTP command has a -s switch to run
REM FTP Commands
ftp -s:ftpcommands.txt ftp.someserver.com
copy c:\Documents and Settings\users\My documents\Movies\*.mpg C:\Movies\*.mpg
echo Movies have been copied!
***inside of ftpcommands.txt ****username
password
cd /home/blah/blah
lcd c:\Documents and Settings\users\My documents\Movies
bin
mget *.mpg
bye***End of ftpcommands.txt ****

![]() |
questions for an intervie...
|
Login script with differe...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |