I installed a VirtualBox to D:\VirualBox (I didnt see the spelling error at the time)
I set up the VM install location to D:\VB os's\ (so there is a Debian folder with the logs, snapshots, Debian.vbox , Debian.vdi, etc inside)
I also was trying things so I set up a batch script in C:\Users\bryce (default cmd directory) that says (see below) so I dont have to change directory every time
Code: Select all
@echo off
"D:\VirualBox\VBoxManage.exe" %*Code: Select all
vboxmanage startvm {"vmname" or UUID} --type headless Code: Select all
VBoxManage.exe: error: Could not find a registered machine named '{Debian}'
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "FindMachine(Bstr(pszVM).raw(), machine.asOutParam())" at line 722 of file VBoxManageMisc.cppCode: Select all
VBoxManage.exe: error: Could not find a registered machine named '{Debian}'
VBoxManage.exe: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "FindMachine(Bstr(pszVM).raw(), machine.asOutParam())" at line 722 of file VBoxManageMisc.cppCode: Select all
'vboxmanage' is not recognized as an internal or external command,
operable program or batch file.Can I write a batch script to do this from desktop?
How do I modify that script for other VM in the future?
Any help would be greatly appreciated and welcomed.