Advertisement
Guest User

duosbackup.vbs

a guest
Jun 9th, 2015
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. val = MsgBox("AMIDuOS 1.xのバックアップをしますか?", 4 + 32)
  2.  
  3. If val = 6 Then
  4.   Set obj = CreateObject("Scripting.FileSystemObject")
  5.   If obj.FileExists("DuOSMigrate.exe") Then
  6.      Set sh = CreateObject("WScript.Shell")
  7.      sh.Run "cmd /c DuOSMigrate.exe backup",1,true
  8.   Else
  9.      WScript.Echo("DuOSMigrate.exeが見つかりません。同じフォルダにDuOSMigrate.exeを入れてもう一度実行してください")
  10.   End If
  11. End if
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement