Welcome, Guest. Please login or register.

Author Topic: Best way to change the default RAM disk icon...  (Read 2111 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline adzTopic starter

  • Knight of the Sock
  • Hero Member
  • *****
  • Join Date: Aug 2003
  • Posts: 2961
    • Show only replies by adz
Best way to change the default RAM disk icon...
« on: September 07, 2004, 01:22:44 PM »
...in Workbench 3.1??? I've tried modifying the startup-sequence to copy an icon to the RAM disk once the RAM disk has been mounted, which does work, but unfortunatly it seems to retain the icon location (which isn't even on my screen) that is stored in the disk.info file, any advice would be greatly appreciated. Thanks in advance :-).
 

Offline whabang

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 7270
    • Show only replies by whabang
Re: Best way to change the default RAM disk icon...
« Reply #1 on: September 07, 2004, 01:42:53 PM »
Well,

You could snapshot the icon's new location, and then copy disk.info back to the location, from which it originally came.
Beating the dead horse since 2002.
 

Offline adzTopic starter

  • Knight of the Sock
  • Hero Member
  • *****
  • Join Date: Aug 2003
  • Posts: 2961
    • Show only replies by adz
Re: Best way to change the default RAM disk icon...
« Reply #2 on: September 07, 2004, 01:50:00 PM »
Quote

whabang wrote:
Well,

You could snapshot the icon's new location, and then copy disk.info back to the location, from which it originally came.


Never thought of that, geez I can be real dumb sometimes, thanks dude. :oops: :-D
 

Offline whabang

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 7270
    • Show only replies by whabang
Re: Best way to change the default RAM disk icon...
« Reply #3 on: September 07, 2004, 02:00:42 PM »
I swear I could hear your "DO'H!" all the way here! :lol:
Beating the dead horse since 2002.
 

Offline adzTopic starter

  • Knight of the Sock
  • Hero Member
  • *****
  • Join Date: Aug 2003
  • Posts: 2961
    • Show only replies by adz
Re: Best way to change the default RAM disk icon...
« Reply #4 on: September 08, 2004, 12:24:52 AM »

 :laughing:
 

Offline Cyberus

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 5696
    • Show only replies by Cyberus
Re: Best way to change the default RAM disk icon...
« Reply #5 on: September 08, 2004, 02:03:48 AM »
D'oh nuts
I like Amigas
 

Offline Hyperspeed

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 1749
    • Show only replies by Hyperspeed
Re: Best way to change the default RAM disk icon...
« Reply #6 on: September 10, 2004, 11:22:47 PM »
What I would do is this:

01. Select cleanup
02. Copy the Disk.info from Ram: to Workbench:Prefs/Env-Archive/Sys/
03. Add the following to your S:User-Startup ->

Copy Workbench:Prefs/Env-Archive/Sys/Disk.info Ram:Disk.info
Relabel >NIL: Ram: Ram-Disk
Assign >NIL: "Ram Disk:" Ram:

(The first line copies the hard disk copy of the Ram icon into memory on bootup, the other two lines relable Ram Disk: as Ram-Disk so that scripts such as RiVa-GUI don't get confused by the missing space in RAM[space]Disk)

;-) :-)