3 ' ------------------------------------------------------------
4 ' start the VMs in the background and mount "network" shares
6 ' Autor: Oliver Maurhart, <oliver.maurhart@ait.ac.at>
8 ' Copyright (C) 2013 AIT Austrian Institute of Technology
9 ' AIT Austrian Institute of Technology GmbH
10 ' Donau-City-Strasse 1 | 1220 Vienna | Austria
11 ' http://www.ait.ac.at
12 ' ------------------------------------------------------------
17 ' get the Windows Scripting Host Shell
18 Set cShell = CreateObject("WScript.Shell")
21 cShell.Run """C:\\Program Files\\Oracle\\VirtualBox\\VBoxManage.exe"" startvm ""Debian 7"" --type headless", 0, True
23 ' Mount the VM Internal "Downloads" folder
25 nError = cShell.Run("net view \\192.168.56.15", 0, True)
29 Loop While nError <> 0
30 nError = cShell.Run("net use Z: \\192.168.56.15\Downloads", 0, True)