1 '//
\89º
\8bL
\82Ì -----
\82©
\82ç -----
\82Ì
\8aÔ
\82Í
\81A
\8ds
\93ª
\82É '
\82ð
\95K
\82¸
\8bL
\8fq
\82µ
\82Ä
\82
\82¾
\82³
\82¢
\81B
\r
2 '-------------------------------------------------------------------[FileA.xml]
\r
7 '------------------------------------------------------------------[/FileA.xml]
\r
9 '-------------------------------------------------------------------[FileB.xml]
\r
10 '(((
\82R
\82Â
\96Ú )))
\r
11 '------------------------------------------------------------------[/FileB.xml]
\r
13 '------------------------------------------------------------[FileInScript.txt]
\r
16 '-----------------------------------------------------------[/FileInScript.txt]
\r
26 '--- start of vbslib include ------------------------------------------------------
\r
28 '//
\82±
\82±
\82Ì
\93à
\95\94\82©
\82ç Main
\8aÖ
\90\94\82ð
\8cÄ
\82Ñ
\8fo
\82µ
\82Ä
\82¢
\82Ü
\82·
\81B
\r
29 '//
\82Ü
\82½
\81Ascriptlib
\83t
\83H
\83\8b\83_
\81[
\82ð
\92T
\82µ
\82Ä
\81Avbslib
\82ð
\83C
\83\93\83N
\83\8b\81[
\83h
\82µ
\82Ä
\82¢
\82Ü
\82·
\r
31 '// vbslib is provided under 3-clause BSD license.
\r
32 '// Copyright (C) 2007-2014 Sofrware Design Gallery "Sage Plaisir 21" All Rights Reserved.
\r
34 Dim g_Vers : If IsEmpty( g_Vers ) Then
\r
35 Set g_Vers = CreateObject("Scripting.Dictionary") : g_Vers("vbslib") = 99.99
\r
36 Dim g_debug, g_debug_params, g_admin, g_vbslib_path, g_CommandPrompt, g_fs, g_sh, g_AppKey
\r
37 Dim g_MainPath, g_SrcPath, g_f, g_include_path, g_i, g_debug_tree, g_debug_process, g_is_compile_debug
\r
39 g_SrcPath = WScript.ScriptFullName : g_MainPath = g_SrcPath
\r
40 SetupVbslibParameters
\r
41 Set g_fs = CreateObject( "Scripting.FileSystemObject" )
\r
42 Set g_sh = WScript.CreateObject("WScript.Shell") : g_f = g_sh.CurrentDirectory
\r
43 g_sh.CurrentDirectory = g_fs.GetParentFolderName( WScript.ScriptFullName )
\r
44 For g_i = 20 To 1 Step -1 : If g_fs.FileExists(g_vbslib_path) Then Exit For
\r
45 g_vbslib_path = "..\" + g_vbslib_path : Next
\r
46 If g_fs.FileExists(g_vbslib_path) Then g_vbslib_path = g_fs.GetAbsolutePathName( g_vbslib_path )
\r
47 g_sh.CurrentDirectory = g_f
\r
48 If g_i=0 Then WScript.Echo "Not found " + g_fs.GetFileName( g_vbslib_path ) +vbCR+vbLF+_
\r
49 "Let's download vbslib and Copy scriptlib folder." : Stop : WScript.Quit 1
\r
50 Set g_f = g_fs.OpenTextFile( g_vbslib_path,,,-2 ): Execute g_f.ReadAll() : g_f = Empty
\r
51 If ResumePush Then On Error Resume Next
\r
53 ResumePop : On Error GoTo 0
\r
55 '---------------------------------------------------------------------------------
\r
57 Sub SetupDebugTools()
\r
59 SetBreakByFName Empty
\r
60 SetStartSectionTree ""
\r
63 Sub SetupVbslibParameters()
\r
64 '--- start of parameters for vbslib include -------------------------------
\r
65 g_Vers("vbslib") = 99.99
\r
66 '// g_Vers("OldMain") = 1
\r
67 g_vbslib_path = "scriptlib\vbs_inc.vbs"
\r
70 '--- end of parameters for vbslib include ---------------------------------
\r
72 '--- end of vbslib include --------------------------------------------------------
\r