Created
June 6, 2018 02:11
-
-
Save fpGHwd/4a60812db4835394e6ac970e4d63a4ff to your computer and use it in GitHub Desktop.
punctuation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
「直角引号」 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set Mainkey=HKCU\SOFTWARE\Microsoft\InputMethod\Settings\CHS | |
for /f %%i in ('reg query %MainKey% /v "Enable Double Pinyin" ^| findstr /i "0x1"') do (set flg=%%i) | |
if not defined flg ( | |
reg add %MainKey% /v "Enable Double Pinyin" /t REG_DWORD /d 0x1 /f | |
echo 已经切换到双拼 | |
) else ( | |
reg add %MainKey% /v "Enable Double Pinyin" /t REG_DWORD /d 0x0 /f | |
echo 已经切换到全拼 | |
) | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment