VirtualBox Startup Script: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
2. Paste the following lines in your notepad file:
2. Paste the following lines in your notepad file:


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


3. Replace  
3. Replace  


  C:\CNT Student VMs\bfranske-sp10\
  D:\fa10-benfranske


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


  C:\Program Files\Sun VirtualBox\VirtualBox.exe
  C:\Program Files\Oracle VM VirtualBox


with the location where VirtualBox is installed on your system. This varies depending on the version.
with the location where VirtualBox is installed on your system. This varies depending on the version.

Revision as of 00:58, 27 August 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=D:\fa10-benfranske
start "" "C:\Program Files\Oracle VM VirtualBox"

3. Replace

D:\fa10-benfranske

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

Replace

C:\Program Files\Oracle VM VirtualBox

with the location where VirtualBox is installed on your system. This varies depending on the version.

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.