Article View: comp.sys.acorn.tech
Article #692Re: Find the root path under RiscOS 3.1
From: Denis Howe
Date: Fri, 18 Dec 1992 14:16
Date: Fri, 18 Dec 1992 14:16
31 lines
1514 bytes
1514 bytes
In article <COXJP.92Dec15150754@beluga.cs.man.ac.uk> coxjp@cs.man.ac.uk (Jonathan Cox) wrote: >Distribution: comp Get your news software fixed! >Some time ago somebody posted something about finding the URD or CSD >from the fileswitch system variables under RiscOS 3.1. Me and others. >The only solution I can come up with is:- > >set r FileSwitch$<FileSwitch$CurrentFilingSystem>$URD >seteval r <r> >set r <FileSwitch$CurrentFilingSystem>:<r> > >Is there a better way? I assume you could use Owen Smith's suggestion of OS_FSControl 37 (canonicalise name) on "$" for this. If you want to do it all in CLI commands then your solution is probably as good as my: Set FS <FileSwitch$CurrentFilingSystem> SetEval CSD "<FS>:"+FileSwitch$<FS>$CSD (or replace CSD with URD) though, as I said, the first line is not necessary so you could do it in one (long) command. -- Denis Howe <dbh@doc.ic.ac.uk> So Biggs, you're the idiot who bought all these IBM PCs. You're fired!
Technical Details
Message-ID:
<DBH.92Dec18141659@wombat.doc.ic.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!doc.ic.ac.uk!news!dbhReferences:
<COXJP.92Dec15150754@beluga.cs.man.ac.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!doc.ic.ac.uk!news!dbh From: dbh@doc.ic.ac.uk (Denis Howe) Newsgroups: comp.sys.acorn.tech Subject: Re: Find the root path under RiscOS 3.1 Date: 18 Dec 92 14:16:59 Organization: Computing Department, Imperial College, London, UK Lines: 31 Distribution: world Message-ID: <DBH.92Dec18141659@wombat.doc.ic.ac.uk> References: <COXJP.92Dec15150754@beluga.cs.man.ac.uk> NNTP-Posting-Host: wombat.doc.ic.ac.uk In-reply-to: coxjp@cs.man.ac.uk's message of 15 Dec 92 15:07:54 GMT