VirtualBox Startup Script: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
(initial setup)
 
(change default vbox program location)
Line 4: Line 4:


  SET VBOX_USER_HOME=C:\CNT Student VMs\bfranske-sp10\
  SET VBOX_USER_HOME=C:\CNT Student VMs\bfranske-sp10\
  start "" "C:\Program Files\Sun\VirtualBox\VirtualBox.exe"
  start "" "C:\Program Files\Sun VirtualBox\VirtualBox.exe"


3. Replace  
3. Replace  

Revision as of 20:30, 9 June 2010

1. Start notepad by clicking the start menu, choosing Run... and putting "notepad" in the dialog box.

2. Paste the following lines in your notepad file:

SET VBOX_USER_HOME=C:\CNT Student VMs\bfranske-sp10\
start "" "C:\Program Files\Sun VirtualBox\VirtualBox.exe"

3. Replace

C:\CNT Student VMs\bfranske-sp10\

with the location where you would like your VMs to be stored (flash drive, etc.)

4. Save the file to your desktop as "Start VirtualBox.bat" Make sure to put the filename in quotes so that the correct extension (.bat) is saved.

5. Start VirtualBox using your file to create or access VirtualMachines from the new location.