I have tried several commands and am not able to do this what am I doing wrong?
Code:
cmcanulty@ubuntu1:~$ VBoxManage list hdds
UUID: 0504a96c-b157-40ea-aa81-62f99d1b0681
Parent UUID: base
State: locked write
Type: normal (base)
Location: /home/cmcanulty/VirtualBox VMs/Windows 7/Windows 7.vdi
Storage format: VDI
Capacity: 25600 MBytes
cmcanulty@ubuntu1:~$ VBoxManage modifyhd /var/VirtualBox/HardDisks/Windows7.vdi --resize 50000
VBoxManage: error: Could not find file for the medium '/var/VirtualBox/HardDisks/Windows7.vdi' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
cmcanulty@ubuntu1:~$