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

ESS[SAS] Batch process fails on Windows mapped drive #343

Open
absrnd opened this issue Jun 14, 2016 · 1 comment
Open

ESS[SAS] Batch process fails on Windows mapped drive #343

absrnd opened this issue Jun 14, 2016 · 1 comment
Labels

Comments

@absrnd
Copy link

absrnd commented Jun 14, 2016

When running Emacs 24.5.1/ESS 16.04/SAS 9.3 on MS Windows 7, Batch process fails when the .sas file is located on a mapped drive. The shell buffer displays the following message:

UNC paths are not supported. Defaulting to Windows directory.

The cause seems to be the ess-sas-file-path function in ess.sas.a.el which uses the function call
(expand-file-name (buffer-name))

I can replicate by opening a file on a local drive (e.g. c:\path\to\file.sas) then M-x ess-sas-file-path
But when I open a file on a mapped drive (e.g. p:\path\to\file.sas) then M-x ess-sas-file-path sets the path to \Server\path\to\file.sas

Any ideas on best way to work round this?

Thanks.

@rsparapa
Copy link
Contributor

rsparapa commented Jul 1, 2016

I guess you need to find a function like (expand-file-name ...) that expands to drive letters instead of UNC paths.

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

3 participants