Author Topic: Vanilla load  (Read 8067 times)

0 Members and 1 Guest are viewing this topic.

havano

  • Guest
Re: Vanilla load
« Reply #15 on: June 18, 2006, 06:47:52 PM »
Maybe you can overcome that by placing multiple instances of the same macro in the common folder, using different file names. If an error occurs due to more than 20 users, you could trap the error and present the 21st-etc. user the/an other instance.

Bob Wahr

  • Guest
Re: Vanilla load
« Reply #16 on: June 19, 2006, 11:45:58 AM »
My preference is still to copy them locally.

Bryco

  • Water Moccasin
  • Posts: 1882
Re: Vanilla load
« Reply #17 on: June 19, 2006, 03:51:08 PM »
Is that automated Bob or one at a time.

havano

  • Guest
Re: Vanilla load
« Reply #18 on: June 20, 2006, 09:57:00 AM »
...you could write a small executable that is run on workstation startup, copies ererything it finds in a certain central network folder to a certain local folder (and ruthlessly overwrites if necessairy) so the newest versions of your macro's are always available locally. Not very elegant maybe, but effective.

Bob Wahr

  • Guest
Re: Vanilla load
« Reply #19 on: June 20, 2006, 10:37:01 AM »
Batch file, even more better/easier than an executable.

Bryco, automated is the way to go as a general rule IMO.  That being said, at this time, in this place, I have a small number of people to support and not a very high frequency of changes so I haven't set up an automated system.

havano

  • Guest
Re: Vanilla load
« Reply #20 on: June 20, 2006, 03:04:37 PM »
Who remembers the DOS commands nowadays...?

OK, start a new txt file and paste this code in it, with appropriate source and target drives\directories.
Rename the saved txt file to e.g. COPY-DVB.BAT (indeed a batch file)
Install COPY-DVB.BAT on all Acad workstations, create a shortcut to it and drop this shortcut in their START menu, under PROGRAMS - STARTUP. In the shortcut properties, you can even specify that you want the BAT file to run in a minimized DOS window.

Code: [Select]
@ECHO OFF
REM this means the commands will not be echoed on screen

COPY /Y /B YourSourcePath\*.DVB YourTargetPath

REM that's all...
REM /Y means no confirmation dialogs (silent mode)
REM /B means you want to copy binary (not ASCII) files
REM If you want to copy other types of files, you can
REM repeat COPY likewise, with other file extensions.
REM COPY *.* (all wildcards) doesn't work in silent mode

My DOS knowledge has also become a bit rusty, but I think this should work.
(Of course, you can also put COPY-DVB.BAT in a central network drive\directory and let the local shortcut in START-PROGRAMS-STARTUP point to that.)
« Last Edit: June 20, 2006, 03:45:33 PM by havano »

David Hall

  • Automatic Duh Generator
  • King Gator
  • Posts: 4075
Re: Vanilla load
« Reply #21 on: June 20, 2006, 03:16:46 PM »
good idea.  I like the KISS principle, yet able to update daily w/o causing problems
Everyone has a photographic memory, Some just don't have film.
They say money can't buy happiness, but it can buy Bacon and that's a close second.
Sometimes the question is more important than the answer. (Thanks Kerry for reminding me)