I will publish a batch just for starting a VM on Windows via vagrant
Hello.
I'm Mandai, in charge of Wild on the development team.
At our company, which does a lot of contract development, the operating environment varies from project to project, so we often create a VM for each project and share the development environment.
For that reason, I often use Vagrant, but it takes a lot of time to open a command prompt or power shell and then cd to vagrant up, so I try to do it in batch mode.
When it comes to command line batches like this, I think Linux shell prompts such as Bash are the star, but Windows also has this kind of functionality.
It's common for Windows machines to have a mouse, so it's no surprise that some people don't know about it.
I could make a lot of text by arranging various nonsense, but
it's not worth the effort, so please take a look at the lame batch file.
@echo off rem CentOS 6.6 x86_64 pushd c:\vms\hogehoge vagrant up exit
Just don't be too picky about the VM startup batch.
I put something like @ before echo off.
I don't obediently play a CD, but I end up doing a pushd.
It's only a few lines of code, but these days I feel like this is the biggest time saver in my life.
I apologize for the small details.
That's it.