Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
Hello all, I was wondering if you can navigate efficiently through directories with Spawn (Calling shell commands) For example: IDL> Spawn,"pwd" <Some directory> IDL> Spawn,"cd .." IDL> Spawn,"pwd" <Still same directory, because after the cd .., something is reset> I solved this problem by making an executable file which takes care of the directories. Spawn,condition?"OneFile":"OtherFile" And the executable file OneFile and OtherFile do the same but in a slightly different directory. I actually have no problem with this, but I was wondering if there is a nicer way to do this. Kind regards, Joost