摘要: Create procedure dbo.Second AS Begin declare @t as int print 'hello' End Create procedure dbo.First As Begin declare @sql as nvarchar(100) set @sql = 'Create procedure dbo.test AS Begin declare @t as... 阅读全文
posted @ 2008-06-12 15:47 Simon.guo 阅读(514) 评论(0) 推荐(0) 编辑
摘要: 1.遍历指定文件夹下扩展名是txt的所有的文件(包括子文件夹) FOR /R C:\gcz %%G IN (*.txt) DO ( echo %%G echo "hehheheheh" ) 2.读入文件中的每一行, 并找出包含特殊字符的行 for /f %%a in (c:\1.txt) do ( echo %%a > Content.txt findstr /I /R "^REM" "C... 阅读全文
posted @ 2008-06-12 15:28 Simon.guo 阅读(366) 评论(0) 推荐(0) 编辑