Doug, could you put the contents of the .xml file (using some other method such as fileToString which hopefully does allow unc paths) into a variable, and then use the string method against this variable instead of directly against the file?
Chip -----Original Message----- From: Doug Lee [mailto:[email protected]] Sent: Monday, March 07, 2011 3:39 PM To: [email protected] Subject: UNC paths and Application.Strings() We're scripting via Remote Desktop, which makes editing painfully slow. We are trying to solve this by keeping the files on the local C drive and making the app's .we file point to the scripts there. This involves putting a UNC-style path like \\machineName\c\... in the app's .we file. That much works, but... In the actual VBScript file, the line that reads strings from the XML file fails. I believe this means that Application.Strings() can't handle a UNC path. A simple example of the path, assuming files are directly in C:\, would be \\MyBox\C\MyApp.xml. Passing that string to Application.Strings causes an error. Is Application.Strings unable to handle UNC paths, and is that an easy thing to fix if so? In the mean time, we'll try actually mapping a remote drive letter to the local drive. -- Doug Lee, Senior Accessibility Programmer SSB BART Group - Accessibility-on-Demand mailto:[email protected] http://www.ssbbartgroup.com "While they were saying among themselves it cannot be done, it was done." --Helen Keller
