摘要: Quote from:http://compnetworking.about.com/od/windowsnetworking/g/unc-name.htmDefinition:UNCis a naming convention used primarily to specify and map network drives in Microsoft Windows. Support for UNC also appears in other operating systems via technologies likeSamba. UNC names are most commonly us 阅读全文
posted @ 2014-02-25 17:53 細水長流 阅读(750) 评论(0) 推荐(0) 编辑
摘要: Quote from: http://ss64.com/nt/syntax-functions.htmlBatch file FunctionsPackaging up code into a discrete functions, each with a clear purpose is a very common programming technique. Re-using known, tested code, means you can solve problems very quickly by just bolting together a few functions.The C 阅读全文
posted @ 2014-02-25 16:14 細水長流 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Quote from: http://ss64.com/nt/syntax-args.htmlParametersA parameter (or argument) is any value passed into a batch script:C:> MyScript.cmd January 1234 "Some value"Parameters may also be passed to a subroutine with CALL:CALL :my_sub 2468You can get the value of any parameter using a % 阅读全文
posted @ 2014-02-25 16:13 細水長流 阅读(561) 评论(0) 推荐(0) 编辑
摘要: Quote from:http://ss64.com/nt/setlocal.htmlSETLOCALSet options to control the visibility of environment variables in a batch file.Syntax SETLOCAL SETLOCAL EnableDelayedExpansion SETLOCAL EnableExtensions SETLOCAL DisableExtensions SETLOCAL EnableExtensions EnableDelayedExpan... 阅读全文
posted @ 2014-02-25 14:10 細水長流 阅读(778) 评论(0) 推荐(0) 编辑