Running a PowerShell ps1 script - external program on completion - Help?
Running a PowerShell ps1 script - external program on completion - Help?
Someone just post an example please, I've tried four different ways and none of them work. I can run batch scripts fine but when trying to run a .ps1 file or run powershell.exe it doesn't work.
Re: Running a PowerShell ps1 script - external program on completion - Help?
I figured it out. I had to encapsulate the entire string in double quotes, then escape the double quotes around the path variable with backslashes.
"Power shell d:\move.ps1 \"%F\" %L"
I tried many different things and this is the only way that worked.
"Power shell d:\move.ps1 \"%F\" %L"
I tried many different things and this is the only way that worked.