[Ironpython-users] Working Directory

Peter Schwalm ps at peter-schwalm.de
Fri Aug 26 16:44:45 CEST 2011

Hi Paul,

if you are running windows:

if you end up in the wrong directory after failure you could use 
sub-batch-files (call xxxx.bat ....) and in that sub-batch-files you 
could use the command setlocal. Then environment and working directory 
are restored on return from the batch file.


Am 26.08.2011 09:49, schrieb Paul Grenyer:
> Hi
> On Fri, Aug 26, 2011 at 8:42 AM, Markus Schaber
> <m.schaber at 3s-software.com>  wrote:
>> Hi,
>> Von: ironpython-users-bounces+m.schaber=3s-software.com at python.org
>>> Is it possible to set the working directory at the command line?
>>> Google isn't helping me. What I want is:
>>> ipy.exe<working directory>  mypy.py.
>> Why don't you use the command line methods for changing the directory?
> That doesn't work so well for my build script. If something fails I
> end up in the wrong directory.

More information about the Ironpython-users mailing list