Yes, Windows 7 uses the same location as Vista. I think Windows 8 is probably the same.<div><br></div><div>There are some Windows environment variables you may be able to use to query the location. On my Windows 7 system:</div>
<div><br></div><div>ALLUSERSPROFILE=C:\ProgramData</div><div>SystemDrive=C:</div><div>SystemRoot=C:\Windows</div><div><br></div><div>On Windows XP:</div><div><br></div><div>ALLUSERSPROFILE=C:\Documents and Settings\All Users</div>
<div><div>SystemDrive=C:</div><div>SystemRoot=C:\Windows</div><div><br></div><div>Note that the -i Win-Test command line parameter allows you specify an alternate .ini file <i>name</i> (but not a fully qualified name with an alternate directory, as far as I can tell).</div>
<div><br></div><div>e.g.</div><div><br></div><div>wt -i bob.ini filename.wt4</div><div><br></div><div>looks for a file named bob.ini in the %ALLUSERSPROFILE%\Application Data\Win-Test\Cfg\ directory.</div><div><br></div>
If writing a LUA script, the directory of the ini file can be determined by calling wtApp:GetCfgPath().<div>
<br clear="all"><div>73,<div>Bob, N6TV</div></div><br><div class="gmail_quote">On Tue, Mar 26, 2013 at 7:56 AM, Steve London <span dir="ltr"><<a href="mailto:n2icarrl@gmail.com" target="_blank">n2icarrl@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am looking for the location of wt.ini on Windows 7 and Windows 8 systems. I don't have a Windows 7 or 8 system to conveniently test with. The wiki says:<br>
<br>
Windows XP: C:\Documents and Settings\All Users\Application Data\Win-Test\cfg\wt.ini<br>
Windows Vista: C:\ProgramData\Win-Test\cfg\<u></u>wt.ini<br>
<br>
Windows 7 and 8 the same as Vista, or ... ?<br>
<br>
What if the root drive is not C: ?<br>
<br>
Thanks and 73,<br>
Steve, N2IC</blockquote></div></div>
</div>