(我不会说英语。希望你能理解。)
你好,我有一个 powershell 脚本(.ps1),它需要使用当前路径(例如“C:\Users\user\Desktop”)。我不知道如何将其设置为变量。我知道变量 $PWD,但它是:
Path ---- C:\Users\user\Desktop
我需要它而不需要“路径----”。
谢谢你的回答,安德鲁
powershell path environment-variables powershell-ise
environment-variables ×1
path ×1
powershell ×1
powershell-ise ×1