I saw this answer below, and had implemented something similar. However, whenever I start Notepad++ I receive an error that the file cannot be opened due to that file not existing. I will point out I am attempting to do this from the Root of C. Error:
Link to answer in question: Open file in chosen application in PowerShell
My little snippet is as follows:
$abcFilePath = "C:Test\abc-webservices\$ClientName\abc.xml"
$Openabc = Start-Process notepad++ "C:Test\abc-webservices\$ClientName\abc.xml"
"TestCase" in the error is $ClientName from above. However based on the link I provided, should this not open up the correct file? Why is it attempting to navigate to the file from the folder Notepad++ is located in. Am I missing a step?