| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | changing directory |
> ------- ---------- > [C:\data] main > C:/ > [C:\data] <- I'd expect the prompt to say [C:\] > ------- --------- > So what am I doing wrong ? Nothing. Your program is probably changing directory just fine; it is neither a compiler nor library problem. Only.. under OS/2, the "current directory" is specific to each process. As soon as you end your program, that process ends and you drop back to the one waiting on it terminating (ie. the shell), and you're back to where you started. The chdir() 'sticking' as it does with MSDOS is actually a peculiarity of MSDOS. ---* Origin: Unique Computing, Melbourne, Australia (3:632/348) SEEN-BY: 50/99 620/243 623/630 632/103 348 998 633/371 634/384 388 635/301 SEEN-BY: 635/502 503 544 727 639/100 711/401 409 410 413 430 510 807 808 809 SEEN-BY: 711/932 934 712/515 713/888 714/906 800/1 7877/2809 @PATH: 632/103 348 635/503 50/99 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™.