Uživatelské nástroje

Nástroje pro tento web


napoveda-7zip:prikazovy-radek:prepinace:spf

-spf (Use fully qualified file paths) switch

Přepínač Popis
-spf Use absolute paths including drive letter.
-spf2 Use full paths without drive letter.

Enables the mode that allows to use fully qualified file paths in archives. If -spf switch is not specified, 7-Zip reduces file paths to relative paths when it adds files to archive, and 7-Zip converts paths to relative paths when you extract archive. If -spf switch is specified, 7-Zip doesn't try to process or convert paths.

Fully qualified file paths begin with one of the following:

  • A UNC name, which starts with two backslash characters, for example, "\\Server1\".
  • A disk designator with a backslash, for example "C:\".
  • A single backslash, for example, "\Folder".

If -spf switch is specified, but the path is not fully qualified, 7-Zip will use specified path, it will not convert the path to fully qualified path.

Please be careful, if you use -spf switch with "extract" command. Check that file names in archive are correct. Note that with -spf switch 7-Zip can try to rewrite any file with path specified in archive.

Syntaxe

-spf

Příklady

7z a a.7z -spf c:\Files\test.txt d:\test.txt

stores both txt files with full paths.

7z x a.7z -spf

extracts files from a.7z archive with exact file paths specified in archive.

Příkazy, které lze použít s přepínačem (-spf)

Viz také

Přepínače:

napoveda-7zip/prikazovy-radek/prepinace/spf.txt · Poslední úprava: 21. 02. 2018 - 13:30 (upravil MartinR - externě)

Lezecké kurzy a kroužky na umělé stěně a v přírodních terénech | Total-Commander.eu
© 2018 7-Zip.cz - Vytvořeno