I am developing a system to ftp some files from our Windows 2000 server to Unix.
I have an enironment varaible set at my windows side like this:
set DEST_DIR=/home/oracle/scripts
If I want to call that variable into the script like cd $DEST_DIR- how do I do this?
I put all my ftp commands in a file called ftp.cmd and call the ftp like this from the Command prompt:
ftp -s:ftp.cmd servername
---------------------
ftp.cmd file look like this:
oracle
passed
cd $DEST_DIR ----- what is the windows qequivalent of this command?
put myfile.sql
y
close
quit
EOF
----------------------------
I have an enironment varaible set at my windows side like this:
set DEST_DIR=/home/oracle/scripts
If I want to call that variable into the script like cd $DEST_DIR- how do I do this?
I put all my ftp commands in a file called ftp.cmd and call the ftp like this from the Command prompt:
ftp -s:ftp.cmd servername
---------------------
ftp.cmd file look like this:
oracle
passed
cd $DEST_DIR ----- what is the windows qequivalent of this command?
put myfile.sql
y
close
quit
EOF
----------------------------