Windows 打开由逗号powershell组成的文件

Windows 打开由逗号powershell组成的文件,windows,powershell,Windows,Powershell,我有一个密码: Powershell_ISE "C:\1\ab,cd,fg.ps1" 在此代码中,Powershell_ISE希望打开3个文件而不是1个文件。如何在不重命名文件的情况下打开文件C:\1\ab、cd、fg.ps1。此代码解决了我的问题: powershell_ise '\"C:\1\ab,cd,fg.ps1\"' 此代码解决了我的问题: powershell_ise '\"C:\1\ab,cd,fg.ps1\"' 这项工作从CMD窗口powershell ise\'te,st

我有一个密码:

Powershell_ISE "C:\1\ab,cd,fg.ps1"

在此代码中,Powershell_ISE希望打开3个文件而不是1个文件。如何在不重命名文件的情况下打开文件C:\1\ab、cd、fg.ps1。

此代码解决了我的问题:

powershell_ise '\"C:\1\ab,cd,fg.ps1\"'

此代码解决了我的问题:

powershell_ise '\"C:\1\ab,cd,fg.ps1\"'

这项工作从CMD窗口
powershell ise\'te,st.ps1\'
进行。是的,这解决了问题。谢谢是否有任何方法仅使用powershell解决此问题?如果没有,我很失望。
powershell ise'te,st.ps1\'
太棒了!这就是我需要的。谢谢。这项工作来自CMD窗口
powershell ise\'te,st.ps1\'
。是的,这解决了问题。谢谢是否有任何方法仅使用powershell解决此问题?如果没有,我很失望。
powershell ise'te,st.ps1\'
太棒了!这就是我需要的。谢谢。当文件路径有空格时,此代码不起作用。当文件路径有空格时,此代码不起作用。