开源雷达国内 GitHub 镜像站
加速通道已就绪 返回列表
全部项目

lukegackle/PowerShell-Self-Elevate-Keeping-Current-Directory

This PowerShell Script will self elevate if required while keeping the current working directory, the script saves the location as a variable and passes it through to the new elevated window so the current working directory is kept, the new window then sets the location from the argument. This script is a modification of the script located at https://superuser.com/questions/747254/powershell-elevation-loses-current-directory

语言:PowerShell · GitHub 星标:3 · Fork:0

在 GitHub 上查看原仓库

正在读取项目信息…