4
2
I'd like to create a shortcut to run cmd at a particular location with a few commands.
I'm hoping from there I can work out how to make it a right click option to "Run my cmd commands here..."
I've found the shortcuts to run CMD with ruby. Which is part of what I want. C:\Windows\System32\cmd.exe /E:ON /K C:\Ruby191\bin\setrbvars.bat
Then in the target field I set me location. Now I just need to know how to pass it some startup arguments.
It is basically to help me run livereload easily on folders. LiveReload is a mini webserver/ruby gem that will auto refresh the browser when you save changes to files contained within the folder you're running it in https://github.com/mockko/livereload
So basically it is running cmd, launching ruby, passing in the directory and activating livereload.
I'm one of the developers of LiveReload. I'd like that to. You would also need to somehow show all enabled directories. And an option to stop it. – NVI – 2011-03-14T11:08:59.947
I found the fix. See my answer. – firefusion – 2011-03-16T11:25:04.077