Skip to content

Instantly share code, notes, and snippets.

@iaoedsz2008
Last active September 6, 2019 09:31
Show Gist options
  • Save iaoedsz2008/ae3e44179229ef928ae3d5952ae49069 to your computer and use it in GitHub Desktop.
Save iaoedsz2008/ae3e44179229ef928ae3d5952ae49069 to your computer and use it in GitHub Desktop.
@echo off
rem 使用前可以在注册表中添加项,以将此功能添加到文件夹的右键菜单
rem HKEY_CLASSES_ROOT\Directory\Background\shell\liaowuping\command
rem 并将默认值设置为此文件绝对路径
set Path=
rem cmake
set Path=%Path%;C:\Program Files\CMake\bin
rem cygwin64
set Path=%Path%;c:\cygwin64\bin
rem git log 中文乱码问题,以下二选一
rem set LANG=zh_CN.UTF-8
set LANG=C.UTF-8
rem git status 中文文件名乱码问题
git config --global core.quotepath off
rem git 软链接支持
git config --global core.syslinks true
rem git 换行符转换
git config --global core.autocrlf input
rem nasm
set Path=%Path%;D:\app\nasm-2.13.03-win64\
rem nodejs
set Path=%Path%;C:\Program Files\nodejs\
set Path=%Path%;C:\Users\amy\AppData\Roaming\npm\
rem python
rem set Path=%Path%;D:\app\python-3.6.5-embed-amd64\
set Path=%Path%;D:\app\Python27\
set Path=%Path%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE
rem system
set Path=%Path%;%SystemRoot%;%SystemRoot%\system32
rem openssl
set Path=%Path%;C:\OpenSSL-Win32
set Path=%Path%;C:\OpenSSL-Win32\bin
set Path=%Path%;C:\OpenSSL-Win64
set Path=%Path%;C:\OpenSSL-Win64\bin
echo;
echo Welcome to liaowuping's development environment!
echo;
rem 不关闭cmd窗口
cmd /k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment