[Ifeffit] Demeter installation on partition "d" on Windows 7 32 bit -- programs do not start

Matt Newville newville at cars.uchicago.edu
Wed Aug 5 20:52:48 CDT 2015

Hi Bruce,

A gentle reminder that this and related PATH problems on Windows have been
reported several times.

Please see https://github.com/bruceravel/demeter/issues/24
<https://github.com/bruceravel/demeter/issues/24>Sorry I don't have a PR
for this, but it looks to be not too difficult.

In short, the Windows batch magic variable %~dp0  (which gives the drive
letter and path of the current batch file) and %~n0 (the prefix of the name
of the current file) could be very helpful for this.      If anyone here
knows about Windows batch files, please check this!

I think this can lead to a demeter installation that could be completely
portable (expect for what Start Menu and Shortcuts point to).   This would
be very helpful for beamlines, as there could be one installation that
could see exactly the same version from multiple machines.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20150805/7e8d7014/attachment.html>

More information about the Ifeffit mailing list