Menu

#170 7-zip not supporting UNC paths

closed
nobody
None
6
2008-12-11
2008-08-24
No

When I launch 7-Zip 4.57 using a batch file in a windows Server 2003 (Windows Home Server PP1) environment using a UNC path as the source I get an error message that the network path is not found.

Batch file {
CMD /C "C:\Progra~1\7-Zip\7z.exe a -t7z \\Jupiter\Backup\User\Data.7z \\Jupiter\Users > \\Jupiter\Backup\User\Data.log"
}

error message (
\\Jupiter\Users: WARNING: The network path was not found.
}

However, when I substitute the mapped share drive name as follows I get the expected output (as long as I am logged into the desktop).

modified batch file{
CMD /C "C:\Progra~1\7-Zip\7z.exe a -t7z \\Jupiter\Backup\User\Data.7z Z: > \\Jupiter\Backup\User\Data.log"
}

Does 7-zip command line interface 7z.exe support UNC paths? Using the mapped drive letter is not feasible for me as I am intending to use 7-zip for unattended scheduled backup.

Discussion

  • Stephen Charles Thompson

    • priority: 5 --> 6
     
  • Igor Pavlov

    Igor Pavlov - 2008-08-24

    Logged In: YES
    user_id=65083
    Originator: NO

    Last part in path must be real folder/file or mask for real files/folders:
    \\Jupiter\Users\*

     
  • Stephen Charles Thompson

    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB