This forum is closed. Thank you for your contributions.
How do I convert the below code in Powershell ?
for /f "tokens=1,2,3 delims=," %%A in (C:\Inputfile.csv) DO ( setvars "%%A" "%%B"="%%C" )
The above code is working in DOS.
Thanks in advance
First learn PowerShell. Next learn batch. In a week you will be set.
Please carefully review the following links to set your expectation for posting in technical forums.
This Forum is for Scripting Question Rather than script requests
Script Gallery.
Script Center
Learn PowerShell
Script requests
From a Bill Stewart summary of useful forum links:
\_(ツ)_/
P.S. - There has been no DOS for over a decade.
What is setvars?