SwitchFullyQualifiedFilePaths Class

Summary

-spf (Use fully qualified file paths) switch. (Also, -spf2 for full paths without drive letters.)

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.

Namespace
Cake.SevenZip.Switches
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["ISwitch"] click Interface0 "/Cake.7zip/api/Cake.SevenZip.Switches/ISwitch" Type["SwitchFullyQualifiedFilePaths"] class Type type-node

Syntax

public class SwitchFullyQualifiedFilePaths : ISwitch

Constructors

Name Summary
SwitchFullyQualifiedFilePaths() Initializes a new instance of the SwitchFullyQualifiedFilePaths class. The Default for IncludeDriveLetter is true.

Properties

Name Value Summary
IncludeDriveLetter bool
Sets a value indicating whether to include drive letter.

Methods

Name Value Summary
BuildArguments(ProcessArgumentBuilder) void
Builds the arguments using the builder.

See Also

GitHub Discussion