本文共 459 字,大约阅读时间需要 1 分钟。
[20171228]windwos批处理echo问题.txt
--//前几天写的文章,链接:
--//里面提到windows的自带echo,实现一些特性太"复杂".--//昨天听朋友介绍安装unxutil包里面自带许多linux命令,这样轻松解决这些问题.我本来就安装这个包.
R:\>D:\tools\linux\usr\local\wbin\echo -e "set timing off head off; \n select sysdate from dual; " | sqlplus -s scott/book@78
2017-12-28 09:27:22R:\>D:\tools\linux\usr\local\wbin\echo -e "set timing off head off; \n select (sysdate+1) from dual; " | sqlplus -s scott/book@78
2017-12-29 09:30:33--//只不过要使用全路径名,这样感觉好多了.
转载地址:http://hftrl.baihongyu.com/