I'm connecting to an FTP server of my website using cmd.exe
(on Windows 7). However, when I want to rename a file on the remote host, I'm able to only rename it to a static text (first word, if there's multiple words separated by space)
What I want to do is renaming the file to the output of a command (dynamic). For example the output of the command date
is
The current date is: Sat 06/18/2016
I want the name of the file to be the result of the date
command.
Thanks in advance!