随笔分类 -  Bat

merge data 4 files with bat
摘要:for /r %%i in (*.bat) do copy "d:\kkk.txt"/a+"%%i"/a "d:\kkk.txt" 阅读全文

posted @ 2014-06-07 10:06 awk 阅读(131) 评论(0) 推荐(0)

MergeData
摘要:@echo offtitle PubwinTool By 76449628color 0Aif not exist "%java_home%\bin\java.exe" goto end2:firclsecho use local >test.sqlecho go >test.sqlset /p pwd="请输入数据库访问密码:"OSQL /S localhost /U netcafe /P %userpwd% /i test.sqlIF ERRORLEVEL 1 goto end1del /f /q test.sqlclsosql -U n 阅读全文

posted @ 2013-12-25 16:55 awk 阅读(331) 评论(0) 推荐(0)

windows定义文件路径启发
摘要:%java_home%../,,/,,/database%windir%../../ 阅读全文

posted @ 2013-06-25 00:19 awk 阅读(117) 评论(0) 推荐(0)

批处理符号
摘要:for /f "tokens=1-3 delims=.: " %%1 in ("%time%") do set ttt=%%1%%2%set /a ttt=%ttt%+2for /f "tokens=1-3 delims=- " %%1 in ("%date%") do set ttt=%ttt%%%3%%2%set ttt=%ttt:~1,-1% 阅读全文

posted @ 2013-06-23 20:31 awk 阅读(272) 评论(0) 推荐(0)

导航