<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
you sent your last mail to me personally. I'm answering to the mailing
list since this issue may affect other users as well...<br>
<br>
On 2010-01-07 05:03, Powell, Olly wrote:
<blockquote
 cite="mid:6924CC4240312140A87A15FC38847299071280@regem001.originenergy.com.au"
 type="cite">
  <p dir="LTR"><span lang="en-au"><font face="Courier New" size="2">I
have narrowed down the problem a little since then.&nbsp; It is</font></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"> <font face="Courier New" size="2">defiantly</font></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"><font face="Courier New" size="2"> a case of TW or Miktex
Portable not coping with the .tex file being on a network drive.&nbsp; It
works fine when</font></span><span lang="en-au"></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"><font
 face="Courier New" size="2"> I transfer it to my hard drive.&nbsp;&nbsp; On the
network drive I get the error message:&nbsp;</font></span><span lang="en-au"></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"> </span></p>
  <p dir="LTR"><span lang="en-au"></span><a moz-do-not-send="true"
 href="file://%5C%5CREGED002%5Cgroup$Solar"><span lang="en-au"></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"><font
 face="Courier New" size="2">&#8216;</font></span><span lang="en-au"></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"><font
 face="Courier New" size="2">\</font></span><span lang="en-au"></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"><font
 face="Courier New" size="2">\networkshare\some</font></span></a><span
 lang="en-au"><font face="Courier New" size="2">\path\there</font></span><span
 lang="en-au"><font face="Courier New" size="2">&#8217;</font></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"></span><span lang="en-au"> </span></p>
[texworks] Specifying output directory with texworks
  <p dir="LTR"><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"></span><span lang="en-au"><font face="Courier New"
 size="2">CMD.EXE was started with the above path as the current
directory.</font></span></p>
<!-- Converted from text/rtf format -->
  <p dir="LTR"><span lang="en-au"><font face="Courier New" size="2">UNC
paths are not supported.&nbsp; Defaulting to Windows directory.</font></span></p>
</blockquote>
<br>
To me, this seems to be a problem with Windows, not with Tw. As this
message indicates (and some pages on the internet as well), the Windows
command line (cmd.exe) doesn't support navigating network (UNC) paths.
So you shouldn't be able to say the following on the command line:<br>
&nbsp;&nbsp;&nbsp; cd \\networkshare\<br>
However, this is just what Tw/LaTeX need. They set the current working
directory to the path of the tex file and run whatever typesetting tool
from there. It's the first step that doesn't work. In fact, I find it
rather curious that typesetting works at all. Have you ever tried
typesetting more complex documents (i.e. ones that are split over
several files or include images)?<br>
<br>
<blockquote
 cite="mid:6924CC4240312140A87A15FC38847299071280@regem001.originenergy.com.au"
 type="cite"><span lang="en-au"><font face="Courier New" size="2"></font></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"></span>
  <p dir="LTR"><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"></span><span lang="en-au"></span></p>
  <p dir="LTR"><span lang="en-au"><font face="Courier New" size="2"></font></span><span
 lang="en-au"><font face="Courier New" size="2">It also has a drive name</font></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"> <font face="Courier New" size="2">&#8220;</font></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"><font face="Courier New" size="2">G</font></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"><font face="Courier New" size="2">&#8221;</font></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"><font face="Courier New" size="2">,&nbsp;</font></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"> <font face="Courier New" size="2">I tried putting that
into the TexWorks directory paths list, but that didn</font></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"><font face="Courier New" size="2">&#8217;</font></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"><font face="Courier New" size="2">t seem to help.</font></span></p>
</blockquote>
<br>
Adding it to the paths list won't help (that's used for finding
programs only, AFAIK). However, if you could open the file from drive G
instead of your network share, I imagine it would work. The only
question is if you _can_ open something from drive G or if this is
automatically resolved to be \\networkshare\what\ever\. But I'd give it
a try and open the file from G.<br>
<br>
<blockquote
 cite="mid:6924CC4240312140A87A15FC38847299071280@regem001.originenergy.com.au"
 type="cite">
  <p dir="LTR"><span lang="en-au"><font face="Courier New" size="2">For
now</font></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"></span><span lang="en-au"> <font face="Courier New"
 size="2">I</font></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"></span><span lang="en-au"><font face="Courier New"
 size="2"> can live with working on my hard drive, but it would be
better if I could figure out how to put the work back on the</font></span><span
 lang="en-au"></span><span lang="en-au"></span><span lang="en-au"></span><span
 lang="en-au"> <font face="Courier New" size="2">network.</font></span></p>
</blockquote>
<br>
Agreed, the situation is not ideal. However, as elaborated above, this
is rather a Windows (command line) problem. Do you have any experience
with other TeX editors that handle this case correctly?<br>
<br>
HTH<br>
Stefan<br>
</body>
</html>