hi,
I came across this post:"Drush finds but does not read aliases.drushrc.php on Windows" which describes exactly the problem I'm having with the current versions of Drush 5 for Windows. I couldn't find a similar issue in this queue. I only found it in the "Support » Post installation" area.

Thanks

CommentFileSizeAuthor
#3 drush aliases.PNG10.71 KBjasonsafro

Comments

greg.1.anderson’s picture

Status: Active » Postponed (maintainer needs more info)

try drush sa @dev and see what it prints. It looks to me like the alias file is being read (you could prove that by adding a print statement inside the alias file); it's just that for some reason, the uri is not being set correctly.

Jean Gionet’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I just tested this and for whatever reason it's now working with the latest dev release.

Thanks

jasonsafro’s picture

StatusFileSize
new10.71 KB

I believe that I am experiencing the same issue. My aliases don't work unless I call drush using its full path. Screencap attached.

C:\Users\jason.safro\vhosts\dev.www.strayer.edu\trunk\Drupal>drush status
 Drupal version         :  7.16
 Site URI               :  http://default
 Database driver        :  mysql
 Database hostname      :  localhost
 Database username      :  dev_www_strayer
 Database name          :  dev_www_strayer
 Database               :  Connected
 Drupal bootstrap       :  Successful
 Drupal user            :  Anonymous
 Default theme          :  strayer_subtheme
 Administration theme   :  rubik
 PHP configuration      :  C:\xampp\php\php.ini
 Drush version          :  5.7
 Drush configuration    :
 Drupal root            :  C:/Users/jason.safro/vhosts/dev.www.strayer.edu/trunk/Drupal
 Site path              :  sites/default
 File directory path    :  sites/default/files
 temp                   :  /tmp
patrick_star’s picture

Version: » 6.x-1.x-dev
Assigned: Unassigned » patrick_star
Issue summary: View changes
Status: Closed (cannot reproduce) » Active

I have the same issue

Windows 7 x64 (russian)
Drupal 7.24
Drush 6.0 (installed from here: http://drush.ws/drush_windows_installer)
Cygwin

helmo’s picture

Status: Active » Closed (won't fix)

This issue was marked closed (won't fix) because Drush has moved to Github.

If this feature is still desired, you may copy it to our Github project. For best results, create a Pull Request that has been updated for the master branch. Post a link here to the PR, and please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.