家里装了个powershell,每次都要要修改profile文件参数,好麻烦,
就想编写个批处理。
powershell $profile (先用这个命令获取profile文件路径)
运行之后得到路径:
C:\Documents and Settings\Administrator\My Documents\WindowsPowerShell\Microsof
t.PowerShell_profile.ps1
我想用notepad 打开该文件,就问问怎么写。
用notepad powershell $profile是错的。。
求大神帮忙。
就想编写个批处理。
powershell $profile (先用这个命令获取profile文件路径)
运行之后得到路径:
C:\Documents and Settings\Administrator\My Documents\WindowsPowerShell\Microsof
t.PowerShell_profile.ps1
我想用notepad 打开该文件,就问问怎么写。
用notepad powershell $profile是错的。。
求大神帮忙。
