Guest User

Untitled

a guest
Feb 23rd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. (Get-Content C:Testtest.txt).Replace(',','`n') | Set-Content C:Testtestv2.txt
  2.  
  3. Replace(',',"`n")
  4.  
  5. [IO.File]::ReadAllText(C:Testtest.txt) -replace ',',"`r`n" | Out-File C:Testtestv2.txt
  6.  
  7. (Get-Content C:TestTest.txt) -replace ',',"`n" | Set-Content C:TestTest.txt -Force
Add Comment
Please, Sign In to add comment