Perhaps it requires administrator privileges to run? i made a small batch file to set and save registry offįor /F "tokens=*" %%z IN ('echo %cd%') DO set currentdrive=%%~dz When i start SketchUp 7, i get the error: "The system cannot execute the specified program". 'local drive' is the name of our local file server as we use shared directory space. "ImportExport"="\\\\local drive\\root\\home\\user\\My Documents\\" "Images"="\\\\local drive\\root\\home\\user\\My Documents\\" "Textures"="\\\\local drive\\root\\home\\user\\My Documents\\" "Styles"="\\\\local drive\\root\\home\\user\\My Documents\\" "Materials"="\\\\local drive\\root\\home\\user\\My Documents\\" "Components"="\\\\local drive\\root\\home\\user\\My Documents\\" "Models"="\\\\local drive\\root\\home\\user\\My Documents\\" This is what the registry data looks like ![]() ![]() I suppose I could write a parsing routine to massage the reg file prior to writing, but this seems rather inelegant. Sketchup also assumes the local harddrive is the location for a bunch of support files, and I have no idea how to manipulate registry settings files on the fly to make this a truly machine independent solution. They do all exist in two main keys which makes them easy to read and write using regedit with the /s switch. Unfortunately Sketchup leaves some 800+ registry entries behind.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |