Google Groups Home
Help | Sign in
Instead of an explicit path
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Dave Symes  
View profile
 More options 23 Aug, 11:54
Newsgroups: comp.sys.acorn.apps
From: Dave Symes <d...@triffid.co.uk>
Date: Sat, 23 Aug 2008 11:54:47 +0100
Local: Sat 23 Aug 2008 11:54
Subject: Instead of an explicit path
Folks, there's a way to depict the hardisk part of a file path that's not
explicit in name, but I'm damned if I can remember how it goes.

Could someone please enlighten...?

Eg:  "Filer_OpenDir ADFS::HardDisc4.$.!Application"  Would be?

Cheers
Dave S

--


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Stewart  
View profile
 More options 23 Aug, 11:56
Newsgroups: comp.sys.acorn.apps
From: Paul Stewart <paulstew...@phawfaux.co.uk>
Date: Sat, 23 Aug 2008 11:56:42 +0100
Local: Sat 23 Aug 2008 11:56
Subject: Re: Instead of an explicit path
In message <4fd351c8bdd...@triffid.co.uk>
          Dave Symes <d...@triffid.co.uk> wrote:

> Folks, there's a way to depict the hardisk part of a file path that's not
> explicit in name, but I'm damned if I can remember how it goes.
> Could someone please enlighten...?
> Eg:  "Filer_OpenDir ADFS::HardDisc4.$.!Application"  Would be?

Dave,

Assuming the application has been seen by the filer, you can use
something like this: -

Filer_OpenDir <myapp$dir>

Obviously you need to replace the myapp$dir with the relevant bit from
the application's !Run or !Boot file.

Regards
--
Paul Stewart -  Far Bletchley, Milton Keynes, England.
(msn:sa...@hotmail.com)

If the answer is wrong, you have asked an incorrect question.

Dare To Be Different.  Use RISC OS (http://www.riscos.com).
It's blue and from outta town -
(http://www.advantage6.co.uk/A9hsplash.html).
A9home Compatibility -
(http://www.phawfaux.co.uk/a9home/compatibility.asp).


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Wuerthner  
View profile
 More options 23 Aug, 12:02
Newsgroups: comp.sys.acorn.apps
From: Martin Wuerthner <spamt...@mw-software.com>
Date: Sat, 23 Aug 2008 13:02:02 +0200
Local: Sat 23 Aug 2008 12:02
Subject: Re: Instead of an explicit path
In message <4fd351c8bdd...@triffid.co.uk>
          Dave Symes <d...@triffid.co.uk> wrote:

> Folks, there's a way to depict the hardisk part of a file path that's not
> explicit in name, but I'm damned if I can remember how it goes.
> Could someone please enlighten...?
> Eg:  "Filer_OpenDir ADFS::HardDisc4.$.!Application"  Would be?

Not sure what you mean but if you want to specify the hard disc part
without mentioning the disc name you can use the disc number, which is
4 for your first hard disc, so the above would become
  Filer_OpenDir ADFS::4.$.!Application
This can be useful to create obey files that still work even if the
hard disc is renamed.

Martin
--
---------------------------------------------------------------------
Martin Wuerthner         MW Software      http://www.mw-software.com/
   ArtWorks 2 -- Designing stunning graphics has never been easier
spamt...@mw-software.com      [replace "spamtrap" by "info" to reply]


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Symes  
View profile
 More options 23 Aug, 13:51
Newsgroups: comp.sys.acorn.apps
From: Dave Symes <d...@triffid.co.uk>
Date: Sat, 23 Aug 2008 13:51:53 +0100
Local: Sat 23 Aug 2008 13:51
Subject: Re: Instead of an explicit path
In article <c47252d34f.mar...@bach.planiverse.com>,
   Martin Wuerthner <spamt...@mw-software.com> wrote:

> In message <4fd351c8bdd...@triffid.co.uk>
>           Dave Symes <d...@triffid.co.uk> wrote:
> > Folks, there's a way to depict the hardisk part of a file path that's
> > not explicit in name, but I'm damned if I can remember how it goes.
> > Could someone please enlighten...?
> > Eg:  "Filer_OpenDir ADFS::HardDisc4.$.!Application"  Would be?
> Not sure what you mean but if you want to specify the hard disc part
> without mentioning the disc name you can use the disc number, which is
> 4 for your first hard disc, so the above would become
>   Filer_OpenDir ADFS::4.$.!Application
> This can be useful to create obey files that still work even if the
> hard disc is renamed.
> Martin

Thanks Martin, that was the one I was after.

Cheers
Dave S

PS: Thanks also to Paul, though that wasn't the one I was thinking of.
D.

--


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ste (news)  
View profile
 More options 23 Aug, 15:09
Newsgroups: comp.sys.acorn.apps
From: "Ste (news)" <st...@revi11.plus.com>
Date: Sat, 23 Aug 2008 15:09:43 +0100
Local: Sat 23 Aug 2008 15:09
Subject: Re: Instead of an explicit path
In article <4fd35c8154d...@triffid.co.uk>,
   Dave Symes <d...@triffid.co.uk> wrote:

> In article <c47252d34f.mar...@bach.planiverse.com>,
>    Martin Wuerthner <spamt...@mw-software.com> wrote:
> > Not sure what you mean but if you want to specify the hard disc part
> > without mentioning the disc name you can use the disc number, which is
> > 4 for your first hard disc, so the above would become

> >   Filer_OpenDir ADFS::4.$.!Application

> > This can be useful to create obey files that still work even if the
> > hard disc is renamed.

> Thanks Martin, that was the one I was after.

If your target is on the same drive as the one with your !Boot directory,
then I would tend to use something like:

  Boot:^.Apps.!Application

or something like that. This doesn't assume the drive name, drive number or
file system type (ADFS, ATAFS, etc).

Ta,

Steve

--
Steve Revill @ Home
Note: All opinions expressed herein are my own.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeremy Nicoll - news posts  
View profile
 More options 23 Aug, 12:30
Newsgroups: comp.sys.acorn.apps
From: Jeremy Nicoll - news posts <jn.nntp.scrap...@wingsandbeaks.org.uk>
Date: Sat, 23 Aug 2008 12:30:33 +0100
Local: Sat 23 Aug 2008 12:30
Subject: Re: Instead of an explicit path

Paul Stewart <paulstew...@phawfaux.co.uk> wrote:
> Assuming the application has been seen by the filer, you can use
> something like this: -

> Filer_OpenDir <myapp$dir>

> Obviously you need to replace the myapp$dir with the relevant bit from
> the application's !Run or !Boot file.

And if you want to cope with the possibility that the app hasn't been seen,
you'd perhaps be better coding

 If "<myapp$dir>" <> "" Then Filer_OpenDir <myapp$dir>

or prefacing the dir-dependent code with eg

 If "<myapp$dir>" = "" Then Error This code needs myapp to have been 'seen'.

--
Jeremy C B Nicoll - my opinions are my own.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dave Symes  
View profile
 More options 23 Aug, 19:22
Newsgroups: comp.sys.acorn.apps
From: Dave Symes <d...@triffid.co.uk>
Date: Sat, 23 Aug 2008 19:22:45 +0100
Local: Sat 23 Aug 2008 19:22
Subject: Re: Instead of an explicit path
In article <4fd363a160st...@revi11.plus.com>,
   Ste (news) <st...@revi11.plus.com> wrote:
[Snippy]

> If your target is on the same drive as the one with your !Boot directory,
> then I would tend to use something like:
>   Boot:^.Apps.!Application
> or something like that. This doesn't assume the drive name, drive number
> or file system type (ADFS, ATAFS, etc).
> Ta,
> Steve

Thanks.
Dave S

--


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google