I'm not sure if LabVIEW 5 has everything you need, but I think it does. Still, it's a good idea to upgrade if you can. To answer your question, here's what I would do. First, make a backup of your LLB just in case.
1) Load up the top-level VIs. A top-level VI contains all the other VIs in the library as subVIs in its hierarchy unless you have multiple top-level VIs. Just make sure all top-levels are open so that they are in memory.
2) Now create the program to do this renaming. The program should first use the List function to list out the names of all the VIs in the Library. You'll want to feed the List function the full path to the library as an input.
3) Now that you have the file names of all your VIs, you can rename them with VI server
funtions. The list of VI names is an array. Feed that array (indexed) to a FOR loop so that each iteration peels off one VI name. Feed that VI name to an Open VI Reference function. Wire the resulting reference to an invoke node. Select the "Save Instrument" method. There will be an input for a new file path. Build the new path (Build Path function) using the existing path to the library and the new name of the VI. I'm guessing that the new name can be derived from the old one somehow. Maybe there a prefix or something? After the invoke node, close that VI reference. After the close, use a Delete function to remove the old VI.
That should do it since the top-levels were in memory the whole time. When the VIs get saved with their new names, the VIs in memory are automatically updated as long as you save them too.
If what I've described sounds too advanced for you, consider hiring an Alliance Member to help you out. We do this stuff every day.
Daniel L. Press
Prime
Test Corp.
www.primetest.com