This should be easy but it's escaping me. I've researched on the web and it confirms that if I surround a Windows path in quotes it takes care of spaces. But not with VirtualBox. What am I overlooking?
VBoxManage modifyhd "C:\Users\sam\VirtualBox VMs\Ubuntu 14 desktop.vdi" --resize 16480
=> 'C:\Users\sam\VirtualBox VMs\Ubuntu 14 desktop.vdi' (VERR_FILE_NOT_FOUND)
VBoxManage modifyhd C:\Users\sam\"VirtualBox VMs"\"Ubuntu 14 desktop.vdi" --resize 16480
=> Syntax error: Invalid parameter 'VMs"Ubuntu 14 desktop.vdi'
Closer, but no cigar.
VBoxManage modifyhd C:\Users\sam\'VirtualBox VMs'\'Ubuntu 14 desktop.vdi' --resize 16480
=> Syntax error: Invalid parameter 'VMs'\'Ubuntu'"
Ok, time for brute force. You know when you use tab to complete folder names? I changed directories down to sam and when I attempted to tab the name of "VirtualBox" it spat back the .virtualbox directory name which is not what I need. I attempted to quote the VirtualBox VMs in CMD and it could not find that folder name. That's probably a clue but I'm unsure how to search for a solution to that. What am I overlooking? thanx, sam