home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!uknet!bhamcs!percy!dxo
- From: dxo@cs.bham.ac.uk (David Oakley)
- Newsgroups: comp.sys.atari.st.tech
- Subject: Re: chdir in sozobon
- Message-ID: <1993Jan4.120301@cs.bham.ac.uk>
- Date: 4 Jan 93 12:03:01 GMT
- References: <1993Jan4.015926.26383@oz.plymouth.edu>
- Sender: news@cs.bham.ac.uk
- Organization: University of Birmingham
- Lines: 23
- Nntp-Posting-Host: mb10
-
- In article <1993Jan4.015926.26383@oz.plymouth.edu>, pyr579@oz.plymouth.edu (Technoid) writes:
- |> Hello,
- |>
- |> I am having difficulty with chdir() is Sozobon 1.33i ( Heat N
- |> Serve ). It won't change drives. According to the dlibs text file,
- |> chdir() will change the drive if a drive letter is given to it. I assume
- |> this means that if I enter "d:\telecomm" for a string, it will ( with
- |> the proper end slashes added. ) change the current drive to D: and then
- |> change the directory to \telecomm. The problem is, it does not do this.
- |> I'm only trying to implement a simple cd command for a mini TOS shell
- |> and I've got most of the other commands finished. This one, that should
- |> be easy, doesn't want to work. Any help would be great or if you have a
- |> working cd command implemented, I'd love to see your code.
- |>
- |> Stephan
-
- If it uses the GEMDOS setpath() call it won't change the drive. GEMDOS keeps a
- current path for every drive, so you probably need to chdir() and then chdrive()
- (I haven't used C much so I don't know), or the other way round.
-
- I think.
-
- David.
-