Just downloaded sed-Win32 version from WindowsITPro. Created a Windows bat file in order to ftp files to a remote server. The bat file generates a ftp source file. Trying to use sed to add the "put" command in front of each file name in the ftp source file. example:
My current output
=============
open 192.168.1.1
myusrname
mypasswd
hash
bin
file1.txt
file2.txt
file32.txt
bye
===========
Desired output
=============
open 192.168.1.1
myusrname
mypasswd
hash
bin
put file1.txt
put file2.txt
put file32.txt
bye
===========
Then
c:\>ftp -i -s

utput.txt
Tried several variations of sed command, but with no luck. Windows version lack many of the functions that Unix supports.
Any suggestions, ideas and help would be greatly appreciated.
Thanks
Ron