Welcome, Guest. Please login or register.

Author Topic: Copy an icon to all drawers in a path?  (Read 1410 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Copy an icon to all drawers in a path?
« on: May 21, 2006, 04:58:38 PM »
I want to copy a drawer icon to all drawers in a specified path. For example:

1.>COPY ENVARC:Sys/def_drawer.info Games:folders/#?.info

I know this won't work, as a wildcard can't be used as the destination in a copy command. Is there an easy way to do this?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Tricky

  • Full Member
  • ***
  • Join Date: Aug 2005
  • Posts: 127
    • Show only replies by Tricky
    • http://www.jigsawlounge.co.uk/kungfu/
Re: Copy an icon to all drawers in a path?
« Reply #1 on: May 21, 2006, 05:01:23 PM »
There is a command that comes with NewIcons that adds icons to the specified list of files.  I'd expect it to understand wildcards, but not sure if that's much use for drawers.
[A1200/060, 32Mb fast RAM, 1.2Gb HDD, 19\\" Acer TFT Monitor]
I never write anything that won\\\'t run on a stock A1200.  That\\\'s the Jigsaw Lounge Guarantee.
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Copy an icon to all drawers in a path?
« Reply #2 on: May 21, 2006, 05:33:28 PM »
The drawers are the only objects in the location to which the icons need to be copied, so if the command will accept wildcards then I should be able to use #?. I'll give it a try. Thanks!

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Copy an icon to all drawers in a path?
« Reply #3 on: May 21, 2006, 05:58:28 PM »
1.> list Games:folders/ DIRS LFORMAT="COPY ENVARC:Sys/def_drawer.info %p%n.info" TO T:script
1.> execute T:script