<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Vista on Much Ado About IT</title><link>https://it.knightnet.org.uk/tags/vista/</link><description>
Recent content about Vista from Much Ado About IT |
Ramblings and rantings from IT Architect &amp; Designer, Julian Knight</description><generator>Hugo | gohugo.io | Theme twenty-sixteen</generator><language>en-gb</language><copyright>This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</copyright><lastBuildDate>Mon, 24 Apr 2023 21:27:28 +0000</lastBuildDate><atom:link href="https://it.knightnet.org.uk/tags/vista/feed.xml" rel="self" type="application/rss+xml"/><item><title>Running Komodo Edit Open Source Code Editor Under Windows 7</title><link>https://it.knightnet.org.uk/2009/05/running-komodo-edit-open-source-code-editor-under-windows-7.html</link><guid isPermaLink="true">https://it.knightnet.org.uk/2009/05/running-komodo-edit-open-source-code-editor-under-windows-7.html</guid><pubDate>Thu, 14 May 2009 12:27:00 +0000</pubDate><guid>https://it.knightnet.org.uk/2009/05/running-komodo-edit-open-source-code-editor-under-windows-7.html</guid><description><div/><div>&lt;p>The open source version of Komodo’s code editor and development environment &lt;!-- raw HTML omitted -->Komodo Edit&lt;!-- raw HTML omitted --> is a great tool for development. I use it for PHP, HTML, JavaScript and more.
However, I haven’t done any serious coding for a while so I haven’t needed to run it under Windows 7 even though I had it installed. When I did, I was disapointed to find it behaving very poorly. It wouldn’t resize properly without messing up the screen. I tried with some of the compatibility settings that Windows 7 gives you but that made no difference. I also tried an upgrade to the latest version.
A quick search didn’t reveal anything about Windows 7 specifically but I did spot a discussion &lt;!-- raw HTML omitted -->about problems under Vista that were related to file permissions&lt;!-- raw HTML omitted -->. Sure enough, &lt;strong>making Komodo Edit run as Administrator fixed the issues&lt;/strong>.
I’ve had a few file permission issues under Windows 7, I’m fairly sure it is down to me messing around. However, it is clear that Windows Vista and Windows 7 are both rather sensitive to permissions issues which is worth bearing in mind.
Looking at &lt;code>%USERPROFILE%\AppData\Roaming\ActiveState\KomodoEdit&lt;/code>, I could see that &lt;code>SYSTEM&lt;/code>, my user and &lt;code>Administrators&lt;/code> all had full access but that &lt;code>Administrator&lt;/code> was the owner of some of the files. I can only summise that this is the issue.
As this needs rebuilding with Windows 7 RC, I haven’t the time to test further but certainly running as Administrator does the trick.
By the way, Komodo Edit is available for Mac and Linux as well as Windows. It has a big brother “&lt;!-- raw HTML omitted -->Komodo IDE&lt;!-- raw HTML omitted -->” with &lt;!-- raw HTML omitted -->additional features&lt;!-- raw HTML omitted --> if you need them. Both are highly configurable, support many languages and are based on the &lt;!-- raw HTML omitted -->Mozilla&lt;!-- raw HTML omitted --> code (like Firefox and Thunderbird) &amp;amp; can easily be extended with JavaScript.&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;p>&lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->Technorati&lt;!-- raw HTML omitted --> : &lt;!-- raw HTML omitted -->Development&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Software&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Vista&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Win7&lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->Diigo Tag Search&lt;!-- raw HTML omitted --> : &lt;!-- raw HTML omitted -->Development&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Software&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Vista&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Win7&lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->&lt;/p>
&lt;!-- raw HTML omitted --></div></description><author>Julian Knight</author><category domain="https://it.knightnet.org.uk/categories/development">Development</category><category domain="https://it.knightnet.org.uk/categories/software">Software</category><category domain="https://it.knightnet.org.uk/categories/windows">Windows</category><category domain="https://it.knightnet.org.uk/tags/vista">Vista</category><category domain="https://it.knightnet.org.uk/tags/win7">Win7</category></item><item><title>How-to show a Message of the Day (MOTD) at the Windows Command Prompt</title><link>https://it.knightnet.org.uk/2009/05/how-to-show-a-message-of-the-day-motd-at-the-windows-command-prompt.html</link><guid isPermaLink="true">https://it.knightnet.org.uk/2009/05/how-to-show-a-message-of-the-day-motd-at-the-windows-command-prompt.html</guid><pubDate>Tue, 12 May 2009 22:33:00 +0000</pubDate><guid>https://it.knightnet.org.uk/2009/05/how-to-show-a-message-of-the-day-motd-at-the-windows-command-prompt.html</guid><description><div/><div>&lt;p>One of the features available under UNIX is the Message of the Day (MOTD). This is run every time you start a command prompt and displays the content of a file. In addition, the UNIX shells allow all sorts of stuff to be run and configured every time you start a new prompt using the .profile and .bashrc command files.&lt;/p>
&lt;p>Windows users don&amp;rsquo;t generally expect that kind of flexibility from their command prompts. However, Windows does indeed support the use of an &lt;code>autorun&lt;/code> into which you can shoe-horn any command you like.&lt;/p>
&lt;p>So for my standard setup, I make the shell autorun run a &lt;code>.profile.cmd&lt;/code> file that sits in the &lt;code>%USERPROFILE%&lt;/code> folder. From that file, I can run anything I like.&lt;/p>
&lt;p>To set up a shell autorun, you have to edit the registry so the usual warnings to be careful and back things up apply.&lt;/p>
&lt;p>There are two locations you can set, one for the machine as a whole and one for the logged-in user.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-ini" data-lang="ini">&lt;span class="line">&lt;span class="cl">&lt;span class="na">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="na">HKEY_CURRENT_USER\SOFTWARE\Microsoft\Command Processor&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>If you want to set an autorun for another user, you need to go down &lt;code>HKEY_USERS&lt;/code> and find the appropriate one. It is really easier just to log in!&lt;/p>
&lt;p>In one or both of those locations, add a new &amp;ldquo;String Value&amp;rdquo; (&lt;code>REG_SZ&lt;/code>) called &lt;code>AutoRun&lt;/code> with the value:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-cmd" data-lang="cmd">&lt;span class="line">&lt;span class="cl">&lt;span class="nv">%USERPROFILE%&lt;/span>\.profile.cmd
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Now create that file and put in a message such as:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-cmd" data-lang="cmd">&lt;span class="line">&lt;span class="cl">&lt;span class="p">@&lt;/span>&lt;span class="k">echo&lt;/span> &lt;span class="s2">&amp;#34;Hello and welcome to my command prompt&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>Save the file and open a new shell and you should see the message just after the Microsoft copyright.&lt;/p>
&lt;p>This should work on all versions of Windows at least from XP onwards.&lt;/p>
&lt;p>If you want to add this to a batch file to set up new machines, here is the command you need:&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-cmd" data-lang="cmd">&lt;span class="line">&lt;span class="cl">reg.exe ADD &lt;span class="s2">&amp;#34;HKLM\SOFTWARE\Microsoft\Command Processor&amp;#34;&lt;/span> /v AutoRun /t REG_SZ /d &lt;span class="se">^%&lt;/span>USERPROFILE&lt;span class="se">^%&lt;/span>\.profile.cmd /f
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>(Note that the above needs to go on a single line)&lt;/p>
&lt;hr>
&lt;h2 id="updates">Updates&lt;/h2>
&lt;ul>
&lt;li>2018-04-22 - Tidy formatting, reformat for Hugo output.&lt;/li>
&lt;/ul>
&lt;!-- raw HTML omitted -->
&lt;p>&lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->Technorati&lt;!-- raw HTML omitted --> : &lt;!-- raw HTML omitted -->Batch&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Configuration&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Scripting&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Vista&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Win7&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Windows&lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->Diigo Tag Search&lt;!-- raw HTML omitted --> : &lt;!-- raw HTML omitted -->Batch&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Configuration&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Scripting&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Vista&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Win7&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Windows&lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->&lt;/p>
&lt;!-- raw HTML omitted --></div></description><author>Julian Knight</author><category domain="https://it.knightnet.org.uk/categories/windows">Windows</category><category domain="https://it.knightnet.org.uk/tags/batch">Batch</category><category domain="https://it.knightnet.org.uk/tags/configuration">Configuration</category><category domain="https://it.knightnet.org.uk/tags/scripting">Scripting</category><category domain="https://it.knightnet.org.uk/tags/vista">Vista</category><category domain="https://it.knightnet.org.uk/tags/win7">Win7</category></item><item><title>How-to use WebDAV on Windows Vista and Windows 7</title><link>https://it.knightnet.org.uk/2009/05/how-to-use-webdav-on-windows-vista-and-windows-7.html</link><guid isPermaLink="true">https://it.knightnet.org.uk/2009/05/how-to-use-webdav-on-windows-vista-and-windows-7.html</guid><pubDate>Mon, 11 May 2009 05:26:00 +0000</pubDate><guid>https://it.knightnet.org.uk/2009/05/how-to-use-webdav-on-windows-vista-and-windows-7.html</guid><description><div/><div>&lt;p>Windows is supposed to have a built-in WebDAV client. However, it doesn’t ever seem to have been especially robust and certainly since Vista a lot of people (myself included) have found that it simply doesn’t work on many supposedly WebDAV enabled sites.
Thankfully there are a couple of free (and some not free) options that, while not as nicely integrated into Windows Explorer, do enable you to transfer files back and forth.
The two that I found were:&lt;/p>
&lt;ul>
&lt;li>&lt;!-- raw HTML omitted -->JScape AnyClient&lt;!-- raw HTML omitted -->&lt;/li>
&lt;li>[BitKinex][1]
I’ve tried the first of these two and it seems to work OK. It’s not polished but it gets the job done. There is also an online version using a Java plugin if you don’t want to install the client.
It seems that the second option is no longer in active development. Don’t be fooled by the web site though, they have changed the license to freeware.
Now, at last, I can once again load multiple files to our corporate intranet on &lt;!-- raw HTML omitted -->WebEx&lt;!-- raw HTML omitted --> without having to switch to a Linux desktop!&lt;/li>
&lt;/ul>
&lt;!-- raw HTML omitted --></div></description><author>Julian Knight</author><category domain="https://it.knightnet.org.uk/categories/microsoft">Microsoft</category><category domain="https://it.knightnet.org.uk/categories/software">Software</category><category domain="https://it.knightnet.org.uk/categories/windows">Windows</category><category domain="https://it.knightnet.org.uk/tags/vista">Vista</category><category domain="https://it.knightnet.org.uk/tags/webdav">WebDAV</category><category domain="https://it.knightnet.org.uk/tags/win7">Win7</category></item><item><title>Keeping Control: File and Folder Links for Windows Users</title><link>https://it.knightnet.org.uk/2009/04/keeping-control-file-and-folder-links-for-windows-users.html</link><guid isPermaLink="true">https://it.knightnet.org.uk/2009/04/keeping-control-file-and-folder-links-for-windows-users.html</guid><pubDate>Mon, 27 Apr 2009 21:12:00 +0000</pubDate><guid>https://it.knightnet.org.uk/2009/04/keeping-control-file-and-folder-links-for-windows-users.html</guid><description><div/><div>&lt;p>A good backup strategy for any computer involves keeping control of where stuff is stored. The fewer locations that contain files that change, the fewer locations have to be maintained.
UNIX users have always had the ability to keep things wherever they wanted and then to LINK that information into the required location. Basically, links create a link or tunnel between one file or folder and another. Most of the time, you will not notice that you’ve entered a tunnel and you are not interested really.
Windows users, however, have always been the poor cousins here. Stuck as we were in &lt;!-- raw HTML omitted -->FAT&lt;!-- raw HTML omitted -->land, we had no access to fancy features such as links. So Microsoft in their inimitable fashion created a poor-man’s link – the Windows Shell Shortcut – so that the Windows GUI had some minimal capability (really only for menu’s and Windows Explorer).
Windows 2000 improved on this by introducing “Reparse Points” one form of which is the “&lt;!-- raw HTML omitted -->Junction&lt;!-- raw HTML omitted -->“. This is an extension to NTFS that allows folders to be joined (linked) to another location in the local volume space. Making junctions is not an obvious process, you can do it from the disk manager and there is a tool in the Windows 2000 server resource kit called &lt;code>linkd&lt;/code>. The POSIX tools included in the resource kit contain the UNIX command &lt;code>ln&lt;/code> which can also create junction points and hard links; &lt;code>fsutil&lt;/code> in XP can also. There are some third party tools too.
It’s odd because I seem to remember that OS/2 had some kind of linking feature.
Anyway, links of the UNIX type are a massively useful feature that has finally (with Vista, Windows 2008 and beyond) made it fully to NTFS and Windows.
Vista, Windows 2008 and Windows 7 all have a command line tool called &lt;code>mklink&lt;/code>. This can be used like the Unix &lt;code>ln&lt;/code> command to create both hard links (which must be on the same volume) and soft links. Soft links under Windows can, in fact, span across SMB network drives as well.
You might also like to look at another free tool called “&lt;!-- raw HTML omitted -->Link Shell Extension&lt;!-- raw HTML omitted -->” by Hermann Schinagl. This integrates into Windows Explorer, the web site also has a more complete explanation of the history of links in Windows. LSE does a number of clever things and is well worth a look. Hermann also has a “dupmerge” tool on his web site that will replace duplicated files with hard links.
So now, if we want to tweak the HOSTS file for example (c:\windows\system32\drivers\etc\hosts), we don’t need to leave in place since that would mean that we would need an extra backup routine. Instead, copy it to somewhere that already gets backed up. Delete the original file and then from the command line:&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;!-- raw HTML omitted -->
&lt;p>Now you can edit the hosts file from either location, there is only one file (in &lt;code>%USERPROFILE%\BACKUPS&lt;/code>). The difference being that even if you delete the file from its normal location, it will still exist in the “real” location. If you delete it from its “real” place in &lt;code>BACKUPS&lt;/code> of course, the link will be broken and wont work.
To link a complete folder, it is the same command with a &lt;code>/D&lt;/code> parameter added. For example, I keep a folder of command line utilities such as &lt;code>ls&lt;/code>, &lt;code>ssh&lt;/code> and &lt;code>rsync&lt;/code> in a folder on a USB pen drive. I sync that folder to the &lt;code>BACKUPS&lt;/code> location on my hard drive for convenience but I need the folder in my &lt;code>PATH&lt;/code> otherwise its hard to execute the utilities. I don’t want a really long path, it’s bad enough already, so I link the folder to &lt;code>c:\cmd&lt;/code> with the following:&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;!-- raw HTML omitted -->
&lt;p>Now I add c:\cmd to the path and the utilities seem to be in both places.
I’ve said in other posts that I like to reinstall Windows now and again but it can be a pain to restore all of the document files. Similarly, if you keep multiple operating systems on your hard drive, how do you keep your documents sorted? One way is to put all documents, videos, music, etc. onto a separate partition. Now, instead of going mad with the Windows registry trying to relocate your normal documents folders to another drive. Simply delete the normal documents folder – &lt;code>%USERPROFILE%\Documents\&lt;/code> under Windows 7 and relink it to the appropriate folder on the other drive as so:&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;!-- raw HTML omitted -->
&lt;p>Put this in a script that you run when you reinstall Windows and its easy and quick.
One final note. You may find a few pieces of software that cannot cope with links. Certainly &lt;!-- raw HTML omitted -->Subversion&lt;!-- raw HTML omitted --> cannot though &lt;!-- raw HTML omitted -->Bazaar&lt;!-- raw HTML omitted --> can. Windows Explorer seems OK though as do utilities such as &lt;!-- raw HTML omitted -->RSYNC&lt;!-- raw HTML omitted -->.&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;p>&lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->Technorati&lt;!-- raw HTML omitted --> : &lt;!-- raw HTML omitted -->Backup&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Batch&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Configuration&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Scripting&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Vista&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Win7&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Windows&lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->Diigo Tag Search&lt;!-- raw HTML omitted --> : &lt;!-- raw HTML omitted -->Backup&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Batch&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Configuration&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Scripting&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Vista&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Win7&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Windows&lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->&lt;/p>
&lt;!-- raw HTML omitted --></div></description><author>Julian Knight</author><category domain="https://it.knightnet.org.uk/categories/windows">Windows</category><category domain="https://it.knightnet.org.uk/tags/backup">Backup</category><category domain="https://it.knightnet.org.uk/tags/batch">Batch</category><category domain="https://it.knightnet.org.uk/tags/configuration">Configuration</category><category domain="https://it.knightnet.org.uk/tags/scripting">Scripting</category><category domain="https://it.knightnet.org.uk/tags/vista">Vista</category><category domain="https://it.knightnet.org.uk/tags/win7">Win7</category></item><item><title>How to get and use your local IP address in a Windows 7 (and Vista) batch command file</title><link>https://it.knightnet.org.uk/2009/03/how-to-get-and-use-your-local-ip-address-in-a-windows-7-and-vista-batch-command-file.html</link><guid isPermaLink="true">https://it.knightnet.org.uk/2009/03/how-to-get-and-use-your-local-ip-address-in-a-windows-7-and-vista-batch-command-file.html</guid><pubDate>Fri, 20 Mar 2009 14:11:00 +0000</pubDate><guid>https://it.knightnet.org.uk/2009/03/how-to-get-and-use-your-local-ip-address-in-a-windows-7-and-vista-batch-command-file.html</guid><description><div/><div>&lt;p>If, like me, you spend a lot of time on a variety of customer sites, you will probably be familiar with the issues around swapping networks.
I’ve already blogged about the &lt;!-- raw HTML omitted -->problems with Windows 7, Vista and Firefox proxy settings&lt;!-- raw HTML omitted --> and I will do some more articles on getting on with problematic proxies later. However, I wanted to let people know how to get hold of your IP address from within a batch (command) file.&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;!-- raw HTML omitted -->
&lt;p>Note the space after the : on line 3. The &lt;code>FOR&lt;/code> command used twice here splits the text output from what is in the &lt;code>()&lt;/code> after the “&lt;code>in&lt;/code>” using the defined delimiters (“&lt;code>:&lt;/code>” and space in the 1&lt;!-- raw HTML omitted -->st&lt;!-- raw HTML omitted --> case, “.” in the 2&lt;!-- raw HTML omitted -->nd&lt;!-- raw HTML omitted -->). In the first &lt;code>FOR&lt;/code> statement, we take element number 13 only, it ends up in variable &lt;code>%%i&lt;/code>. In the second case, we take elements number 1 to 4, they go into variables &lt;code>%%a&lt;/code>, &lt;code>%%b&lt;/code>, &lt;code>%%c&lt;/code>, &lt;code>%%d&lt;/code>.
Now you have not only the full address but also the componants so if you wanted to check whether you were in a particular class C network, you could do something like:&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;!-- raw HTML omitted -->
&lt;p>That would check if your local IP address is between 10.97.100.1 and 10.97.199.254
&lt;!-- raw HTML omitted -->Note&lt;!-- raw HTML omitted --> that I’ve used the enhanced &lt;code>FOR&lt;/code> statement – the “&lt;code>usebakq&lt;/code>” makes the FOR statement more like a UNIX type one where commands are enclosed in back-quotes (`). This certainly works for Windows 7 and should, I think, work for Vista. Prior to Vista, you would need to do things differently anyway. At the very least you would have to search for “IP Address” in the &lt;code>FIND&lt;/code> statement as &lt;code>IPCONFIG&lt;/code> didn’t include IPv6 information.
Now that you have everything in place, you can control the proxy settings for each application that needs access out of the local network. I’ll blog about that another time.&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;p>&lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->Technorati&lt;!-- raw HTML omitted --> : &lt;!-- raw HTML omitted -->Batch&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Vista&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Win7&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Windows&lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->Diigo Tag Search&lt;!-- raw HTML omitted --> : &lt;!-- raw HTML omitted -->Batch&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Vista&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Win7&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Windows&lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->&lt;/p>
&lt;!-- raw HTML omitted --></div></description><author>Julian Knight</author><category domain="https://it.knightnet.org.uk/categories/windows">Windows</category><category domain="https://it.knightnet.org.uk/tags/batch">Batch</category><category domain="https://it.knightnet.org.uk/tags/vista">Vista</category><category domain="https://it.knightnet.org.uk/tags/win7">Win7</category></item><item><title>proxy.pac files, Mozilla (Firefox &amp; Thunderbird) and Vista or Windows 7</title><link>https://it.knightnet.org.uk/2009/02/proxy-pac-files-mozilla-firefox-thunderbird-and-vista-or-windows-7.html</link><guid isPermaLink="true">https://it.knightnet.org.uk/2009/02/proxy-pac-files-mozilla-firefox-thunderbird-and-vista-or-windows-7.html</guid><pubDate>Fri, 27 Feb 2009 08:55:00 +0000</pubDate><guid>https://it.knightnet.org.uk/2009/02/proxy-pac-files-mozilla-firefox-thunderbird-and-vista-or-windows-7.html</guid><description><div/><div>&lt;p>I’ve found a problem with Mozilla based products and proxy settings.
To automatically configure a proxy for use by Internet browsers, you can use a file called “&lt;!-- raw HTML omitted -->proxy.pac&lt;!-- raw HTML omitted -->“. This is a &lt;!-- raw HTML omitted -->JavaScript&lt;!-- raw HTML omitted --> function that is loaded into the browser when it starts and redirects requests via a proxy where required.
All of the descriptions for this file you will find on the Internet will provide the following example of checking your current IP address. This is used for laptops where the IP address will change depending on where you are. You can check when the laptop is on the corporate network and redirect requests via the corporate proxy as needed:&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;!-- raw HTML omitted -->
&lt;p>Well, this does not work for Mozilla based applications (for example Firefox and Thunderbird) if you are using Microsoft Vista or Windows 7.
That is because, under those operating systems, the internal function myIpAddress() does not return an IPv4 address as expected (e.g. 10.10.10.5) but an IPv6 address instead (e.g something longer with lots of “:”).
In order to make your proxy.pac file work with both IE and Mozilla, use something like:&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;!-- raw HTML omitted -->
&lt;p>You can discover your IPv6 address in several ways but the trusty command line “ipconfig /all” shows you everything you need.
See also this discussion on the Mozilla support forums: &lt;!-- raw HTML omitted -->proxy.pac myIpAddress() returns incorrect format?&lt;!-- raw HTML omitted -->&lt;/p>
&lt;!-- raw HTML omitted -->
&lt;p>&lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->Del.icio.us&lt;!-- raw HTML omitted --> : &lt;!-- raw HTML omitted -->Configuration&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Software&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Vista&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Win7&lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->Technorati&lt;!-- raw HTML omitted --> : &lt;!-- raw HTML omitted -->Configuration&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Software&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Vista&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Win7&lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted --> &lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->Diigo Tag Search&lt;!-- raw HTML omitted --> : &lt;!-- raw HTML omitted -->Configuration&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Software&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Vista&lt;!-- raw HTML omitted -->, &lt;!-- raw HTML omitted -->Win7&lt;!-- raw HTML omitted -->&lt;!-- raw HTML omitted -->&lt;/p>
&lt;!-- raw HTML omitted --></div></description><author>Julian Knight</author><category domain="https://it.knightnet.org.uk/categories/software">Software</category><category domain="https://it.knightnet.org.uk/tags/configuration">Configuration</category><category domain="https://it.knightnet.org.uk/tags/vista">Vista</category><category domain="https://it.knightnet.org.uk/tags/win7">Win7</category></item></channel></rss>