TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Bill Hanrahan
from: Don Hawkinson
date: 1994-06-14 23:39:04
subject: Use of `system` function

BH> My question is:  Can I change the directory from within
BH> a program and have it stay in effect after program 
BH> termination ????

No but you can cheat.  If you wrap the program in a REXX
script you can pass the new directory to the REXX program and
change directory with REXX.  I tried the same thing when I
got an OS/2 C compiler.

___
 X don.hawkinson{at}twsubbs.twsu.edu

--- Maximus/2 2.01wb

* Origin: -=Fawnetta=-Wichita,KS Christian/OS2 (316) 721-1005 14.4 (1:291/7)
SEEN-BY: 54/54 620/243 632/348 640/820 690/660 711/409 413 430 807 808 809
SEEN-BY: 711/934 712/353 623 713/888 800/1 2442/0
@PATH: 291/7 11 3615/50 229/2 2442/0 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.