| Reid Sweatman wrote:
>
> On Wednesday, December 03, 1997 4:21 PM, Richard Dobson
> [SMTP:RWD@cableinet.co.uk] wrote:
>
> > you don't especially need to worry about this - I don't use SFDIR
> > myself.
> > This is an optional environment variable (set in AUTOEXEC.BAT) in which
> > Csound will look for input files (for soundin).
>
> It's easier, and works just as well, to run CSound from a batch file that
> sets up the environment variables and path first, then restores the old
> ones on exit. That way the impact on your system is absolutely minimal.
>
> Reid Sweatman
> Programmer/Audio Engineer
> Reid.Sweatman@m.cc.utah.edu
Yes, I almost mentioned batch files in my reply - but there is a danger
of what should be a Csound FAQ turning into a DOS/Windows FAQ.
In fact, if you run a session batch file setting environment variables,
the changes don't end up in AUTOEXEC.BAT itself, so there is no
particular need to restore anything - especially if you use the syntax
path=%PATH%;c:\csound
etc.
The only possible caveat is to ensure you have enough environment space
to start with - now that really IS a DOS FAQ!
Richard Dobson |