Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

changing mingw' startup directory or creating mingw symlinks

Tags:

windows

mingw

What's the easiest way to set mingw's console startup directory? I only use mingw for compiling. but due to the lack of editors or even symlinks I am confused how to tell mingw console to come up in a different directory rather than regular home dir.

It would also be helpful if someone knows how to place "real" symlinks to ntfs drives like cygwin can do. mingw copies the content and that is useless when working on a subversion dir.

I am a lazy guy, and i find it painful to do the cd /c/Documents/USER/.../Project all the time :>

like image 700
mschmoock Avatar asked Aug 09 '11 17:08

mschmoock


1 Answers

If anyone else finds this post looking for an answer, what worked for me was

  1. Create shortcut if one doesn't already exist. Could be on your desktop or taskbar.
  2. Right click >> Properties >> and change the Start in: value.
  3. Use the shortcut and instantly start in your project directory.

I have several shortcuts for various projects in a line on my Desktop so I can quickly start a terminal in each of those directories and get right to work!

like image 97
hatberg Avatar answered Sep 21 '22 13:09

hatberg