I'm trying to write a simple backup script using
rar.exe, the command line binary shipped with WinRAR. I want to fetch an entire folder from a network location and add it to a rar-file on my desktop computer.
How do I specify a network path as input?
My script looks like this (the network computer name I'm trying to access is
rar a "C:\test.rar" -mt4 -ag" yyyy-mm-dd" -m5 "\\Cube\foldername"
I also tried with IP in the path, like this:
Output tells me the path
\\Cube\foldername can not be found.