Posted On December 3, 2020

Enabling Unix Newline ‘LF’ Support for Windows 10 Version 1706 or Higher

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Enabling Unix Newline ‘LF’ Support for Windows 10 Version 1706 or Higher

Please note that the following PoSH commands won’t work on earlier versions of Windows (e.g. Windows Server 2016 release 1607)

$registryNotepad='REGISTRY::HKEY_CURRENT_USER\Software\Microsoft\Notepad'
$dwordMofifyEolPaste='fPasteOriginalEOL'
$dwordMofifyEolWindows='fWindowsOnlyEOL'
$enable=0
$disable=1
Set-ItemProperty -Path $registryNotepad -Name $dwordMofifyEolPaste -Value $enable
Set-ItemProperty -Path $registryNotepad -Name $dwordMofifyEolWindows -Value $enable

# Signout and back in to observe the difference

# Reverse the change
Remove-ItemProperty -Path $registryNotepad -Name $dwordMofifyEolPaste
Remove-ItemProperty -Path $registryNotepad -Name $dwordMofifyEolWindows

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

A Comment on SSD Hardware

There are different types of NAND flash: TLC, MLC, SLC. The Samsung EVO is TLC…

How to Expand a Windows NTFS Volume as a LUN of HPe Nimble Storage

1. Take volume off synchronous mode - Pre-emptively avoid this error: "Failed to update the…

How to discover WSUS Server from Your Local Machine

# Method 1: PowerShell (the obvious choice) (Get-ItemProperty HKLM:\Software\Policies\Microsoft\Windows\WindowsUpdate).WuServer # Method 2: Command Line REG…
Other project: DragonCoin.com