Mahmoud AL-saadi
Mahmoud AL-saadi

Reputation: 25

What is the equivalent of this code in PowerShell?

What is the equivalent of this code in PowerShell?

@echo off

SET PATH=%PATH%;D:\oracle\FRHome_1\dcm\bin\;D:\oracle\FRHome_1\opmn\BIN\;D:\oracle\FRHome_1

\opmn\BIN

Upvotes: 1

Views: 822

Answers (1)

manojlds
manojlds

Reputation: 301587

 $env:PATH=$env:PATH+";D:\oracle\FRHome_1\dcm\bin\;D:\oracle\FRHome_1\opmn\BIN\;D:\oracle\FRHome_1"

PS: You should try to learn some Powershell, rather than just asking for equivalent lines of code.

Upvotes: 1

Related Questions