i'm a completely new to this sort of thing, and have no idea where to start.
i'm trying to write a win 7 script for my boss, where the following happens;
- display a list of choices based on directories within a ftp directory
- when he selects one it will cd to that directory
- then display another list of choices based on files ending in .htm
- when he selects one it renames the first 8 characters with today's date yyyymmdd
all .htm files have a yyyymmdd format in the begining of the file name
what language should i use? any ideas where to start something like this?
edit: this is what i have so far
echo off
cls
echo user me@company.com> ftpcmd.dat
echo password>> ftpcmd.dat
echo mls . 1.tmp>> ftpcmd.dat
echo y >> ftpcmd.dat
echo quit>> ftpcmd.dat
ftp -n -s:ftpcmd.dat ftp.company.com
del ftpcmd.dat
type mls.tmp | more +2 > trim.tmp
findstr /N "^" trim.tmp > dirs.tmp
::code need to make choices from dirs.tmp
::value of selected to be %dir%
cls
echo user me@company.com> ftpcmd.dat
echo password>> ftpcmd.dat
echo cd %dir%>> ftpcmd.dat
echo mls . mls.tmp>> ftpcmd.dat
echo y >> ftpcmd.dat
echo quit>> ftpcmd.dat
ftp -n -s:ftpcmd.dat ftp.company.com
del ftpcmd.dat
findstr ".htm" mls.tmp > trim.tmp
findstr /N "^" trim.tmp > files.tmp
::code need to make choices from files.tmp
::value of selected to be %sel%
set new=%date:~10,4%%date:~4,2%%date:~7,2%%sel:~9%
cls
echo user me@company.com> ftpcmd.dat
echo password>> ftpcmd.dat
echo cd %dir%>> ftpcmd.dat
echo rename %sel% %new%>> ftpcmd.dat
echo quit>> ftpcmd.dat
ftp -n -s:ftpcmd.dat ftp.company.com
del ftpcmd.dat
del *.tmp
i firgured once i can fill in the missing pieces, i can loop it to cut down on the code.