Page 1 of 1

Dealing with spaces in the VM path

Posted: 9. Apr 2017, 18:05
by Isaiah Sellassie
How does one deal with blank spaces in the file path of the VDI? The default directory is called "VirtualBox VMs". I get a bash error.

Re: Dealing with spaces in the VM path

Posted: 9. Apr 2017, 21:14
by socratis
  1. Do not hijack other threads. I split your post from Resizing issue which has absolutely nothing to do with your question.
  2. I fail to see the relationship between your question and VirtualBox. Have you searched for your problem online?
  3. Enclose the path in quotes. All of the path. Or use the escape character "\".

Re: Dealing with spaces in the VM path

Posted: 10. Apr 2017, 00:53
by Isaiah Sellassie
Thank you for the reply, socratis. I searched for resizing VDI because that is what I am trying to do. I encountered the bash error while trying to execute the command found here in thread called "How to resize a Virtual Drive".

No harm was intended. I am required to make at least one post before starting a new thread, so I chose to make it a relevant one to my problem.

I used the quote marks and it worked. Thank you!

Re: Dealing with spaces in the VM path

Posted: 10. Apr 2017, 01:12
by Isaiah Sellassie
By the way, in the afore mentioned how-to thread there is something called an "Example" but it does not have an example file path at all. It should be revised perhaps.

Re: Dealing with spaces in the VM path

Posted: 10. Apr 2017, 01:28
by Perryg
Here is the official how to for others that come upon this thread.
viewtopic.php?f=24&t=50661

Re: Dealing with spaces in the VM path

Posted: 10. Apr 2017, 08:38
by socratis
Isaiah Sellassie wrote:No harm was intended. I am required to make at least one post before starting a new thread, so I chose to make it a relevant one to my problem.
No harm done. But you're not required to have at least one post before you open a new thread. There's nor such rule as far as I know...