docs.rs failed to build spath-cli-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
spath

Windows PATH security scanner and optimizer.
Problem
Windows PATH entries with spaces but without quotes create security vulnerabilities that can be exploited for privilege escalation attacks.
Solution
spath detects and fixes these vulnerabilities automatically.
Installation
Download (easiest)
Download from GitHub Releases:
spath-setup.exe— Installer (adds to PATH automatically)spath.exe— Standalone executablespath-windows-x64.zip— Archive with docs
From crates.io
From source
Binary location: target/release/spath.exe
Commands
Scan
Analyze PATH for security issues.
Fix
Fix USER PATH issues (no admin required).
Analyze
Analyze both SYSTEM and USER PATH.
Clean
Remove duplicate paths and optimize PATH.
Backup Management
Issue Types
CRITICAL: Unquoted paths with spaces - security vulnerability
WARNING: Non-existent paths or relative paths
INFO: Informational messages
Workflow
- Scan:
spath scan --audit - Analyze:
spath analyze - Backup:
spath backup - Fix USER PATH:
spath fix - Remove duplicates:
spath clean - If needed, restore:
spath restore <backup-file>
Requirements
- Windows 10 or later
- Rust 1.70+ (for building from source)
Options
--dry-runor-d- Preview changes without applying--delicate- Ask for confirmation before applying changes--systemor-s- Include SYSTEM PATH operations (requires admin)--verboseor-v- Show detailed information--auditor-a- Show detailed audit report
Notes
- USER PATH changes do not require administrator rights
- SYSTEM PATH changes require administrator rights
- Automatic backup before any changes
- Restart applications to apply PATH changes
- Use
--delicatefor extra safety with confirmation prompts
License
MIT License - see the LICENSE file for details