Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geany does not work with network drives or a network drive mapped to a local folder #689

Closed
mazsihej opened this issue Oct 11, 2015 · 4 comments
Labels

Comments

@mazsihej
Copy link

Geany does not work with network drives or a network drive mapped to a local folder.
I have my codes on a network drive. The drive is mounted in Windows10 as Z:...
When I try to run/build, I am getting the error "Failed to change the working directory to "Z:...."
I tried to create a symbolic link in Windows, mapping the drive to c:\folder with the command
mklink /d c:\folder \networkhost\sharename
After that I am getting a popup window saying "Runtime error !..." (screen clipping attached).
geany error

@b4n
Copy link
Member

b4n commented Oct 11, 2015

Which Geany version are you using? This kinda looks like 1.24, and 1.25 has major improvements regarding running commands under Windows, so it might fix that too.

@b4n b4n added the windows label Oct 11, 2015
@frlan
Copy link
Member

frlan commented Oct 11, 2015

I had seen some similar issues with Windows 7 and smb-Folders complete unrelated to Geany. For some reason -- i didn't investigate more at this time and don't have access to this setup anymore -- I wasn't able to run some installer or general executables from mounted device. My idea was it might be related to some issue with antivirus. To solve it I needed to copy file to local file system. Maybe worth double checking before deep digging into Geany.

@codebrainz
Copy link
Member

Is it because of that silly Windows bug where you can't cd into a folder on another drive, but first have to put the drive letter by itself to switch to that drive and then cd into the folder?

Like:

C:\Whatever> cd Z:\foo
<doesn't work>
C:\Whatever> Z:
Z:\> cd foo
<works>

IIRC there was some code added for Windows to override the normal/shortcut-chosen working directory, maybe it needs to do something fancier?

@mazsihej
Copy link
Author

It seems that after the update to 1.25 i can use as the working directory the mapped network drive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants