1.C:\Program Files\Git\etc\git-completion.bash: alias ls='ls --show-control-chars --color=auto' 说明:使得在 Git Bash 中输入 ls 命令,可以正常显示中文文件名. 2.C:\Program Files\Git\etc\inputrc: set output-meta on set convert-meta off 说明:使得在 Git Bash 中可以正常输入中文,比如中文的 commit…
第一种:新建批处理文件 backup.dat,里面输入以下代码: 代码如下 复制代码 net stop mysql xcopy "C:/Program Files/MySQL/MySQL Server 5.0/data/piaoyi/*.*" D:/db_backup/%date:~0,10%/ /y net start mysql 注意:批处理命令中路径里有空格的话,必须在路径上加上双引号! 然后使用Windows的"计划任务"定时执行该批处理脚本即可.(例如:…