npm环境搭建
nvm install 16.14.0
nvm use 16.14.0
npm install -g nrm --registry=https://registry.npmmirror.com
nrm use taobao
npm i -g anywhere pnpm@8 less
nvm -v
win10右键cmd.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\cmd_here]
@="在此处打开命令行"
"Icon"="cmd.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\background\shell\cmd_here\command]
@="\"C:\\Windows\\System32\\cmd.exe\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmdPrompt]
@="在此处打开命令行"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\cmdPrompt\command]
@="\"C:\\Windows\\System32\\cmd.exe\" \"cd %1\""
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cmd_here]
@="在此处打开命令行"
"Icon"="cmd.exe"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\cmd_here\command]
@="\"C:\\Windows\\System32\\cmd.exe\""
win10显示秒.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ShowSecondsInSystemClock"=dword:00000001
[HKEY_CURRENT_USER\Control Panel\International]
"sShortDate"="yyyy-MM-dd ddd"
"sTimeFormat"="HH:mm:ss"
"sShortTime"="HH:mm:ss"
"sDate"="-"
"sTime"=":"
"iFirstDayOfWeek"="0"
windows网络时间同步工具.bat
@echo off
chcp 65001
@rem cn.pool.ntp.org
@rem time.windows.com
@rem time.nist.gov
net stop w32time
net start w32time
w32tm /config /manualpeerlist:"cn.pool.ntp.org" /syncfromflags:manual /reliable:yes /update
w32tm /resync
w32tm /resync
@rem w32tm /config /manualpeerlist:"time.nist.gov" /syncfromflags:manual /reliable:yes /update
@rem w32tm /resync
@rem w32tm /resync
@rem w32tm /config /manualpeerlist:"time.windows.com" /syncfromflags:manual /reliable:yes /update
@rem w32tm /resync
@rem w32tm /resync
echo 同步结束!
pause
标签:脚本,w32tm,HKEY,cmd,windows10,Classes,rem,工具,SOFTWARE
From: https://www.cnblogs.com/mofrite/p/18286987