IMOG, the following is more of an explanation to keep anybody who is interested in the loop. My apologies for repeating myself or explaining things that I'm sure you understand completely, but I figure it's better to over explain and let others understand where you and I are spinning of into than have our own private network admin convo.
Make sure you have a temp directory on your C: drive. I've had four questions, one of which here in the thread, about the error from the vbs output not having a place to put the computer.txt file.
I'm not sure if an IP address would work or not... Hmmm, lets look at the .bat file... Here's the first command line:
for /f "delims=," %%I IN (computer.txt) DO sc.exe \\%%I stop FAH
It sets the variable %%I to be what ever is first listed in the computer.txt file and then tells it to execute (DO) sc.exe (M$'s command line service management program) to stop the service FAH on the computer under the path of \\%%I.
I'm thinking that %%I could be the whole darn \\forest\trees\branches\leaf-1 path, so you'd have to make sure the computer.txt file was filled with all of that info.
eg, the computer.txt file would look like:
\\forest\trees\branches\leaf-1
\\forest\trees\branches\leaf-2
\\forest\trees\branches\leaf-3
Or...
In the .bat file you could change the command line parameters to include the whole path. Take, for example, the first command in the .bat file listed above would now be written like this:
for /f "delims=," %%I IN (computer.txt) DO sc.exe \\forest\tree\branch\%%I stop FAH
Essentially, somewhere the whole path has to be written, but I'm not sure where.
Furthermore, IF you can access all these computers by IP, you *might* be able to use those as you mentioned above.
I'd suggest trying to use sc.exe on a remote computer via the cmd prompt and IP address and see if it works.
eg... in the cmd prompt, cd to a directory that contains a copy of sc.exe and type:
sc.exe 192.168.***.*** stop FAH
and see what happens.
Let me know what how it goes.