How to rename the paths in the archive winrar through the console cli?

Hello.
There is an archive, it is this hierarchy "folder/old/different files and folders"
You need to rename the folder to old, new

In normal winrate it's just 2 times I clicked on a folder and wrote a new name.
But I have using CMD, there is the command "rn"
I thought that would work so rn rar archive.rar */old/* */new/*
Didn't work. It changes something, but all is not as it should be, it turns out a mess.
I have tried many different ways but always I get strange result, feeling that he from the bulldozer that sort of renames.

Actually a question in this, as in similar files, rename the folder.
If it's not real, then maybe there are some programs to the zip? Maybe zip is easier to crank?

What else is there? In General, the bottom line is this, I need a script to download 30 pieces of files through ftp, then rename the folder (i.e. the path in the archive) and back to throw via ftp.

If someone knows how to do it for example through nodejs, php, or python, please write.
If the console winrara this is not done, any desired method.

PS: Well, because if full Winrar it makes a couple of clicks, then the console should too, no?
March 19th 20 at 09:01
3 answers
March 19th 20 at 09:03
//hrserver/path
//dominouser/path
look, what the question was, when you answered? It seems that something went wrong :D - shana_Collier commented on March 19th 20 at 09:06
@shana_Collier, oops, I already ofigel.

Was "how to specify a network path for the balls". - Adella commented on March 19th 20 at 09:09
@Adella, can you imagine how freaked out I was reading an exact copy of a question from last page, but the answers in style - "a few schizophrenics poured his fasio" :D - shana_Collier commented on March 19th 20 at 09:12
March 19th 20 at 09:05
Yes, somehow.
You can specify a network path.
You can connect as a network drive.
There are no rules, only convenience.
March 19th 20 at 09:07
\\FQDN\ball
The IP should not be used, since in this case the in-network authorization drops to a level of NTLM with Kerberos, which in itself is less secure. Although the use of the ip address is valid, but I don't.

Find more questions by tags Windows