tusharjoshi/netbeans-php-drupal

Drush and Windows XP directory names

Closed this issue · 2 comments

Great and wonderful tool for NB and Drupal development!! Thanks so much.

My problem:
I'm running NB on Windows XP with the NBDrupalDevel installed. I've set the location of Drush to: C:\Documents and Settings\All Users\Application Data\Drush and there is no error about invalid paths. I verified that drush.php is in that directory.

When I enter a command, I get this error:

EXECUTE: cmd /c C:\Documents and Settings\All Users\Application Data\Drush\drush.bat -r "C:/Documents and Settings/USERNAME/Sites/acquia-drupal" --include="C:\Documents and Settings\Cindy\Application Data\NetBeans\7.2.1\NBDrush" -y status
'C:\Documents' is not recognized as an internal or external command, operable program or batch file.

Execution complete in 0.086134131 seconds

making me think Drush NB integration doesn't care for WinXP directory names with spaces.

On my laptop with Win7, the path is C:\ProgramData\drush and drush commands work fine.

Is there a workaround for the drush integration on XP? Running PHP 5.3.9 on both machines.

I would think this is a pretty popular setup-- is there a work around for this? I tried quoting various parts of the folder name but couldn't get netbeans to recognize them.

I just released a new build. Give that a try. I got it working on Win7 with spaces in the path. It took a lot of figuring out and reworking. It appears that spaces in a path on Windows using Java's processbuilder is a nightmare, as the Google showed me!!!