ソース掲示板




すべてから検索

キーワード   条件 表示 現行ログ 過去ログ トピックス 名前 本文

  メンテナンス 前画面に戻る

対象スレッド 件名: 部品コード
名前: lightbox
処理選択
パスワード

件名 部品コード
名前 lightbox
コメント
[[sleep.vbs]]
@DIV
Wscript.Sleep(5000)
@END


[[lha.vbs]]
@DIV
Set WshShell = CreateObject( "WScript.Shell" )
Set Fso = CreateObject( "Scripting.FileSystemObject" )

LhaPath = "_parts"
FileDate = Replace( Date(), "/", "" )
CurPath = WshShell.CurrentDirectory

Call lha32( "DB001", "database" )
Call lha32( "DB002", "database" )
Call lha32( "DB003", "database" )
Call lha32( "DB004", "database" )

Function lha32( target, location )

	LzhPath = CurPath & "\" & location & "\" & target & "_" & FileDate & ".lzh"
	FilePath = CurPath & "\" & location & "\" & target & ".dat"
	Call WshShell.Run( LhaPath & "\lha32.exe u """ & LzhPath & """ """ & FilePath & """", , True )

End Function
@END