HI, i need to run a batch file inside powershell and I have to be sure that the script is run inside a specific folder.
The working batch file is:
cd C:\Oracle\Product\19.0.0\Patch_32\33829175
C:\Oracle\product\19.0.0\Patch_32\33829175>C:\Oracle\product\19.0.0\client_32\OPatch\opatch.bat apply -silent
In powershell i’ve made some lines link this:
cd C:\Oracle\Product\19.0.0\Patch_32\33829175
Start-Process -FilePath 'C:\Windows\System32\cmd.exe' -ArgumentList '/c', 'C:\Oracle\product\19.0.0\client_32\OPatch\opatch.bat apply -silent'
but i can’t get it to work.
Can you help me?
Thanx
G