expand tftpd.ex_ %windir%system32 ftpd.exe instsrv tftpd %windir%system32 ftpd.exe reg add hklmsystemcurrentcontrolsetservices ftpdParameters reg add hklmsystemcurrentcontrolsetservices ftpdParameters /v Directory /t REG_SZ /d d: ftpd md c: ftproot net start tftpd
TFTPD USAGE:
Installation:
md d: ftpd (the StartDirectory). copy %windir%system32 ftpd.exe d: ftpd sc create tftpd binPath= d: ftpd ftpd.exe (give full path). sc query tftpd (check if installed). reg add hklmsystemcurrentcontrolsetservices ftpdParameters /v Directory /t REG_SZ /d d: ftpd (the default work-directory is c: ftpdroot)
Start:
net start tftpd
or
sc start tftpd [-dStartDirectory][-e] [-f]
Options: -e use event log.
-f log to file.
-dStartDirectory
Stop:
sc stop tftpd
or
net stop tftpd
Remove:
sc delete tftpd
or
instsrv tftpd remove
Info:
sc interrogate tftpd (logs will be updated).
sc query tftpd Check whether running.
instsrv tftpd %windir%system32srvany.exe reg add hklmsystemcurrentcontrolsetservices ftpdParameters reg add hklmsystemcurrentcontrolsetservices ftpdParameters /v Application /t REG_SZ /d d: ftpd ftpd.exe reg add hklmsystemcurrentcontrolsetservices ftpdParameters /v Directory /t REG_SZ /d d: ftpd md c: ftproot net start tftpd