Is the file "infacmd.bat" in your working directory? If so, and you're trying to run the file from PowerShell, try this: .\infacmd.bat
.
If the file's in some other directory, try this: X:\directoryname\infacmd.bat
.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
i am unable run infacmd.bat file in powershell
tried using start process
tried cmd
tried powershell.exe
can anyone ping me ,please
Thanks,
Mahesh
Is the file "infacmd.bat" in your working directory? If so, and you're trying to run the file from PowerShell, try this: .\infacmd.bat
.
If the file's in some other directory, try this: X:\directoryname\infacmd.bat
.
Hi Mahesh,
Try this link and steps to run the bat file using PS, you will need to lower the security settings to allow execution.
allow-others-to-run-your-powershell-scripts-from-a-batch-file-they-will-love-you-for-it
==
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.
Hello Maheshkottam,
The command infacmd.bat belong to a product suite called Informatica PowerCenter that is a separate software out of Microsoft. You should post your question in their community or forums in order to get proper information that depends on the way that the software was developed independently of Powershell or CMD. Also their community would be better experienced in similar situations.
--------------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--