Загрузка данных


Get-ChildItem "$env:LOCALAPPDATA\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages" -Filter "django-admin.exe" -Recurse

$djangoPath = "$env:LOCALAPPDATA\Packages\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\LocalCache\local-packages\Python313\Scripts"

$userPath = [Environment]::GetEnvironmentVariable("Path", "User")

if (($userPath -split ';') -notcontains $djangoPath) {
    [Environment]::SetEnvironmentVariable("Path", "$userPath;$djangoPath", "User")
}