<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EveryJoe &#187; environment variables</title>
	<atom:link href="http://www.everyjoe.com/tag/environment-variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.everyjoe.com</link>
	<description>Sports News - Tech Reviews - Entertainment - Life Tips for EveryJoe</description>
	<lastBuildDate>Wed, 23 Dec 2009 05:21:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Obscure Location of Quick Launch</title>
		<link>http://www.everyjoe.com/articles/the-obscure-location-of-quick-launch-2/</link>
		<comments>http://www.everyjoe.com/articles/the-obscure-location-of-quick-launch-2/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 12:00:08 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[bad software]]></category>
		<category><![CDATA[corrupted icon cache]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[environment variables]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft Quick Launch]]></category>
		<category><![CDATA[quick launch]]></category>
		<category><![CDATA[quick launch icons]]></category>
		<category><![CDATA[quick launch toolbar]]></category>
		<category><![CDATA[rebuild icons]]></category>
		<category><![CDATA[tweak UI]]></category>
		<category><![CDATA[Windows Tips]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1298</guid>
		<description><![CDATA[I use Launchy and so have no need for program launch icons, be it on the Desktop or Quick Launch or Windows Start. I don’t even use the Quick Launch toolbar and all I knew until recently was that you add a quick launch icon by dragging any program (or a shortcut pointing to that program) into the toolbar.\\r\\n\\r\\nToday, when I accidentally deleted one of the quick launch icons of a machine not belonging to me, I found the obscure location of the quick launch icons:\\r\\n
%APPDATA%\\\\Microsoft\\\\Internet Explorer\\\\Quick Launch
\\r\\n\\r\\n(APPDATA is an environment variable which can be found by typing echo %APPDATA% [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/the-obscure-location-of-quick-launch-2/">The Obscure Location of Quick Launch</a></p>
]]></description>
			<content:encoded><![CDATA[<p>I use <a title=\\\"That Damn PC: Launch Your Programs With Launchy\\\" href=\\\"http://www.everyjoe.com/articles/launch-your-programs-with-launchy-2/\\\">Launchy</a> and so have no need for program launch icons, be it on the Desktop or Quick Launch or Windows Start. I don’t even use the Quick Launch toolbar and all I knew until recently was that you add a quick launch icon by dragging any program (or a shortcut pointing to that program) into the toolbar.\\r\\n\\r\\nToday, when I accidentally deleted one of the quick launch icons of a machine not belonging to me, I found the obscure location of the quick launch icons:\\r\\n
<p align=\\\"center\\\"><span style=\\\"font-family: Lucida Console;\\\">%APPDATA%\\\\Microsoft\\\\Internet Explorer\\\\Quick Launch</span></p>
<p>\\r\\n\\r\\n(<span style=\\\"font-family: Lucida Console;\\\">APPDATA</span> is an <a title=\\\"That Damn PC: Environment Variables\\\" href=\\\"http://www.everyjoe.com/articles/environment-variables-2/\\\">environment variable</a> which can be found by typing <span style=\\\"font-family: Lucida Console;\\\">echo %APPDATA%</span> at the command prompt.)\\r\\n\\r\\nI checked it on Windows XP and Windows 2003 Server, but it is possible that this location is preserved across OSs. I can’t fathom the reason behind placing quick launch icons in the APPDATA folder belonging to the Internet Explorer. Some might consider it harmless, but say when a custom slipstream installation of Windows is made where the Internet Explorer is not installed, it is possible that Quick Launch is also gone. The location is senseless and a bug, whatever maybe its priority. It is just a tiny example of bad software.\\r\\n\\r\\nWhile there are tools that can help you <a title=\\\"That Damn PC: Ask a Tech Series, How to Rebuild Missing Desktop Icons\\\" href=\\\"http://www.everyjoe.com/articles/ask-a-tech-series-how-to-rebuild-missing-desktop-icons-2/\\\">clean your quick launch cache</a>, etc., if you are not a complete newbie the best way would be to navigate to the Quick Launch folder and see the various files present in that folder (mostly .LNK or shortcut files). You could see for yourself if the files are wrongly pointing to any dead or moved links and update them if necessary. You can also add your own shortcuts directly using <span style=\\\"font-family: Lucida Console;\\\">Right Click –&gt; New –&gt; Shortcut</span>.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/the-obscure-location-of-quick-launch-2/">The Obscure Location of Quick Launch</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/the-obscure-location-of-quick-launch-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Environment Variables</title>
		<link>http://www.everyjoe.com/articles/environment-variables-2/</link>
		<comments>http://www.everyjoe.com/articles/environment-variables-2/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 12:00:17 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[batch programs]]></category>
		<category><![CDATA[batch scripts]]></category>
		<category><![CDATA[check environment variables]]></category>
		<category><![CDATA[environment]]></category>
		<category><![CDATA[environment variables]]></category>
		<category><![CDATA[How-To]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[set environment variables]]></category>
		<category><![CDATA[Windows Tips]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/?p=1302</guid>
		<description><![CDATA[Environment variables are a set of dynamic variables that can determine the environment in which a process runs. While they are more easily visible and often used in Unix-based OSs, they are equally essential on Windows. A little knowledge is especially important to write batch programs (.BAT).
The command env typed in your command prompt or Cygwin terminal will list the entire set of environment variables and their current values. My Computer –&#62; Properties –&#62; Advanced –&#62; Environment Variables will also show you the Windows environment variables divided into two categories: System variables and User variables.

While on cmd each variable can [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/environment-variables-2/">Environment Variables</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Environment variables are a set of dynamic variables that can determine the environment in which a process runs. While they are more easily visible and often used in Unix-based OSs, they are equally essential on Windows. A little knowledge is especially important to write batch programs (.BAT).</p>
<p>The command <span style="font-family: Lucida Console;">env</span> typed in your command prompt or Cygwin terminal will list the entire set of environment variables and their current values. My Computer –&gt; Properties –&gt; Advanced –&gt; Environment Variables will also show you the Windows environment variables divided into two categories: System variables and User variables.</p>
<p align="center"><a href="http://www.everyjoe.com/files/2/2009/02/environmentvariables.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="Environment Variables" src="http://www.everyjoe.com/files/2/2009/02/environmentvariables-thumb.png" border="0" alt="Environment Variables" width="440" height="484" /></a></p>
<p>While on cmd each variable can be referred to using %ENVIRONMENT-VARIABLE%, on <a title="That Damn PC: Cygwin &amp; Unix Category" href="http://www.everyjoe.com/category/cygwin-unix/" target="_self">Cygwin and all Unix-based OSs</a> they are referred to using $ENVIRONMENT-VARIABLE. (<span style="font-family: Lucida Console;">$ echo %ENVIRONMENT-VARIABLE%</span> or <span style="font-family: Lucida Console;">$ echo $ENVIRONMENT-VARIABLE</span>)</p>
<p>ALLUSERSPROFILE, APPDATA, COMPUTERNAME, HOMEDRIVE, HOMEPATH, PATH, PROGRAMFILES, SYSTEMDRIVE, SystemRoot, USERNAME, USERPROFILE, WINDOWS are a some important environment variables some of which may be modified and are usually quite useful while writing batch programs. OS, NUMBER_OF_PROCESSORS, PROCESSOR_ARCHITECTURE, PROCESSOR_IDENTIFIER, PROCESSOR_LEVEL are a few other interesting variables which are best left untouched.</p>
<p><span style="font-family: Lucida Console;">$ set ENVIRONMENT-VARIABLE=value</span> can be used to change an existing or define a new environment variable.</p>
<p><em>Image Source: Microsoft Windows on my desktop.</em></p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/environment-variables-2/">Environment Variables</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/environment-variables-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The .profile in Cygwin</title>
		<link>http://www.everyjoe.com/articles/the-profile-in-cygwin-2/</link>
		<comments>http://www.everyjoe.com/articles/the-profile-in-cygwin-2/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 14:15:58 +0000</pubDate>
		<dc:creator>Sravan</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[.profile]]></category>
		<category><![CDATA[aliasing]]></category>
		<category><![CDATA[customizing]]></category>
		<category><![CDATA[Cygwin & Unix]]></category>
		<category><![CDATA[environment variables]]></category>
		<category><![CDATA[How-To]]></category>

		<guid isPermaLink="false">http://www.thatdamnpc.com/the-profile-in-cygwin/</guid>
		<description><![CDATA[We have seen a few things about the .profile while customizing the Cygwin terminal. Here are the remaining sections of the file.
Prompt
export PS1=”\[\e]2;\u@\h:\w\007$green\]\u@\h:\[$pink\]\w\[$blue\]$ \[$BLUE\]”
The PS1 is a defined environment variable that determines how a prompt should behave. It stands for &#8220;Prompt Settings&#8221;. There are three variables \u, \h, and a \w. \u is the username, \h is the hostname, \w is the complete path of the working directory. The pre-defined colors $green, $pink, $blue, $BLUE (set in the .profile shown) specify the color of the display immediately following. Notice that PS1 seems to have a repetition of \u, \h and [...]<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/the-profile-in-cygwin-2/">The .profile in Cygwin</a></p>
]]></description>
			<content:encoded><![CDATA[<p>We have seen a few things about the .profile while <a href="http://www.everyjoe.com/articles/customizing-the-cygwin-terminal-2/" title="That Damn PC: Customizing the Cygwin Terminal">customizing the Cygwin terminal</a>. Here are the remaining sections of the file.</p>
<p><strong>Prompt</strong><br />
export PS1=”\[\e]2;\u@\h:\w\007$green\]\u@\h:\[$pink\]\w\[$blue\]$ \[$BLUE\]”</p>
<p>The PS1 is a defined environment variable that determines how a prompt should behave. It stands for &#8220;Prompt Settings&#8221;. There are three variables \u, \h, and a \w. \u is the username, \h is the hostname, \w is the complete path of the working directory. The pre-defined colors $green, $pink, $blue, $BLUE (set in the .profile shown) specify the color of the display immediately following. Notice that PS1 seems to have a repetition of \u, \h and \w. The first part &#8212; until \007 &#8212; sets the window name of Cygwin which otherwise would&#8217;ve been something like C:\windows\system32\cmd.exe.</p>
<p>There is another environment variable called the PS2 and is secondary and is set to &#8216;&gt;&#8217; by default. It is displayed whenever you have pressed Return and the command is incomplete.</p>
<p><strong>History</strong><br />
In command prompt, when you press Up arrow, you can find previous commands you&#8217;ve typed within that session. In Cygwin, a user-specified log file of a user-specified size logs all commands and that can allow you to easily run previous commands across sessions.</p>
<p><strong>Aliases</strong><br />
alias pingg=&#8217;ping <a href="http://www.google.com'/">www.google.com&#8217;</a></p>
<p>Alias understandably is your nickname to a command. e.g. When you&#8217;re connected to a network and want to find out whether there are any problems with the Internet connection (slowdown or disconnect) you can try pinging <a href="http://www.google.com/">www.google.com</a>. Because Google is one of those big sites that rarely goes down or is never too slow. The ping gives you an idea. Instead of the complete command you can now just type &#8216;pingg&#8217;. Remember that this alias takes precedence over any previously defined usage of a command with the same name.</p>
<p>Post from: <a href="http://www.everyjoe.com">EveryJoe</a></p>
<p><a href="http://www.everyjoe.com/articles/the-profile-in-cygwin-2/">The .profile in Cygwin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.everyjoe.com/articles/the-profile-in-cygwin-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>