Posted November 8, 201212 yr Hi There. Apologies if this is more of a case of my getting something wrong with my cmdlets but I'm struggling with the Powershell on my iPhone app. I have a batch file I would like to be able to execute from my phone however I'm struggling to get it to work. I'm using the following cmdlet... start-process c:\bat\filename.bat ... however I keep getting the following error message... "Error: This command cannot be executed due to the error: The system cannot find the file specified" I've checked the location of the batch file and it's definitely correct. I did try putting the file and location in ""'s and this returned a "Command executed successfully" message however the application my batch file is supposed to launch has not launched. My biggest fear is that this is probably my lack of knowledge of Powershell but any help would be gratefully received all the same. Thanks, Steve
November 9, 201212 yr There are examples at bottom of the page in this link http://ss64.com/ps/start-process.html
Create an account or sign in to comment