<?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>Otak Atik [dot] Com &#187; MS-DOS</title>
	<atom:link href="http://www.otakatik.com/tag/ms-dos-command/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.otakatik.com</link>
	<description>Empowering Computer</description>
	<lastBuildDate>Wed, 13 Jan 2010 11:42:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>My 10 Favourite Commands</title>
		<link>http://www.otakatik.com/my-10-favourite-commands/</link>
		<comments>http://www.otakatik.com/my-10-favourite-commands/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 07:36:42 +0000</pubDate>
		<dc:creator>Edi Kwie</dc:creator>
				<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[MS-DOS]]></category>

		<guid isPermaLink="false">http://www.otakatik.com/?p=307</guid>
		<description><![CDATA[Although Windows XP provides a great way to open an aplication by click their icon, some times I feel typing a command to ask Windows open an application is better way and faster. At least it happens on my daily work. I feel press Windows + R keys combination and then typing a command make [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-308" style="margin: 5px;" src="http://www.otakatik.com/images/2009/02/run_menu.jpg" alt="" width="347" height="179" />Although Windows XP provides a great way to open an aplication by click their icon, some times I feel typing a command to ask Windows open an application is better way and faster. At least it happens on my daily work. I feel press Windows + R keys combination and then typing a command make my job be more responsive.<span id="more-307"></span></p>
<p>And here are commands those I use them almost everyday:</p>
<ol>
<li><code>%TEMP%</code>. This command will open your temporary files folder. I open it everyday to make my computer clean from trash files. Instead of open this folder by open C:\Documents and Settings\&lt;user_name&gt;\Local Settings\Temp manually, use this way.</li>
<li><code>%WINDIR%</code>, this command will open your Windows folder.</li>
<li><code>%PROGRAMFILES%</code>, this command will open your Program Files folder where almost your entire application installed.</li>
<li><code>%USERPROFILE%</code>, this command will open your profile folder.</li>
<li><code>winword</code>, open Microsoft Word.</li>
<li><code>excel</code>, open Microsoft Excel.</li>
<li><code>notepad</code>, to open notepad. I use it everyday to make a temporary note such us my friend&#8217;s phone number.</li>
<li><code>calc</code>, to open calculator (Windows built-in application). I calculate something every day <img src='http://www.otakatik.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </li>
<li><code>firefox</code>, to open my best internet browser is Firefox.</li>
<li><code>regedit</code>, to open Registry Editor. I like to browse my registry structure and its values and to otak atik (read: learn) them.</li>
</ol>
<p>What&#8217;s your favourite command?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.otakatik.com/my-10-favourite-commands/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create Random Password</title>
		<link>http://www.otakatik.com/create-random-password/</link>
		<comments>http://www.otakatik.com/create-random-password/#comments</comments>
		<pubDate>Fri, 23 May 2008 03:22:37 +0000</pubDate>
		<dc:creator>Edi Kwie</dc:creator>
				<category><![CDATA[MS-DOS]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.otakatik.com/?p=100</guid>
		<description><![CDATA[Create a password for account; it makes us be confused occasionally. If it is too easy, the other users can guess it easily but we want to make a good/strong password, maybe we can’t make it. And it happens when I want to create password for my Windows account. I want to create a strong [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" style="float: left; margin: 5px;" src="http://www.otakatik.com/wp-content/uploads/general/cmd_icon.jpg" alt="" width="96" height="96" />Create a password for account; it makes us be confused occasionally. If it is too easy, the other users can guess it easily but we want to make a good/strong password, maybe we can’t make it. And it happens when I want to create password for my Windows account. I want to create a strong password for my account.<span id="more-100"></span></p>
<p>Fortunately, Windows has provided a way for us.</p>
<ol>
<li> We need to open Command Prompt console. Open it by click <strong>Start</strong> -&gt; <strong>Run</strong>, enter <code>cmd</code> in box and then press <strong>Enter</strong>.<br />
<img src="http://www.otakatik.com/wp-content/uploads/general/run-dialog-cmd.jpg" alt="" /></li>
<li>Type this command at command prompt: <code>net user “your_user” /random</code>. For example if the user name which want to change is “Guess”, type <code>net user “Guess” /random</code> and then press Enter.</li>
<li>Windows will create a strong password for you.<br />
<img src="http://www.otakatik.com/wp-content/uploads/tiptrick101/0135/net_user_1.jpg" alt="" /></li>
</ol>
<p>Remember, write down the created password because the password is needed to login to your user name next time. And if you’re disagreeing with the password and want to reset it, you can reset it manually and <a href="http://www.otakatik.com/manage-windows-accounts/">here is the way</a>.<br />
<em>(Article no: 00135)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.otakatik.com/create-random-password/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Removing Windows Service on Windows XP</title>
		<link>http://www.otakatik.com/removing-windows-service-on-windows-xp/</link>
		<comments>http://www.otakatik.com/removing-windows-service-on-windows-xp/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 13:59:19 +0000</pubDate>
		<dc:creator>Edi Kwie</dc:creator>
				<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[MS-DOS]]></category>
		<category><![CDATA[Windows Service]]></category>

		<guid isPermaLink="false">http://www.otakatik.com/?p=73</guid>
		<description><![CDATA[I had ever confused when I got problem with MySQL installation and I want to remove the MySQL service from Windows Services but I can found the erase or remove menu on Windows Services console. And finally I found the way to remove its service, I’ll share it.
Windows XP has a MSDOS tool to remove [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.otakatik.com/wp-content/uploads/tiptricks/0052/logo.png" alt="" /><br />
I had ever confused when I got problem with MySQL installation and I want to remove the MySQL service from Windows Services but I can found the erase or remove menu on Windows Services console. And finally I found the way to remove its service, I’ll share it.<span id="more-73"></span></p>
<p>Windows XP has a MSDOS tool to remove it, it calls <code>sc</code>. If you want to look all the option just type <code>sc</code> at command prompt console, you will see the result like this:</p>
<pre name="code" class"ruby">DESCRIPTION:
SC is a command line program used for communicating with the
NT Service Controller and services.
USAGE:
sc (my_server) [command] [service name] (option1) (option2)...

The option (server) has the form "\\ServerName"
Further help on commands can be obtained by typing: "sc [command]"
Commands:
query-----------Queries the status for a service, or
enumerates the status for types of services.
queryex---------Queries the extended status for a service, or
enumerates the status for types of services.
start-----------Starts a service.
pause-----------Sends a PAUSE control request to a service.
interrogate-----Sends an INTERROGATE control request to a service.
continue--------Sends a CONTINUE control request to a service.
stop------------Sends a STOP request to a service.
config----------Changes the configuration of a service (persistant).
description-----Changes the description of a service.
failure---------Changes the actions taken by a service upon failure.
qc--------------Queries the configuration information for a service.
qdescription----Queries the description for a service.
qfailure--------Queries the actions taken by a service upon failure.
delete----------Deletes a service (from the registry).
create----------Creates a service. (adds it to the registry).
control---------Sends a control to a service.
sdshow----------Displays a service's security descriptor.
sdset-----------Sets a service's security descriptor.
GetDisplayName--Gets the DisplayName for a service.
GetKeyName------Gets the ServiceKeyName for a service.
EnumDepend------Enumerates Service Dependencies.

The following commands don't require a service name:
sc (server) (command) (option)
boot------------(ok | bad) Indicates whether the last boot should
be saved as the last-known-good boot configuration
Lock------------Locks the Service Database
QueryLock-------Queries the LockStatus for the SCManager Database
EXAMPLE:
sc start MyService

Would you like to see help for the QUERY and QUERYEX commands? [ y | n ]: y
QUERY and QUERYEX OPTIONS :
If the query command is followed by a service name, the status
for that service is returned.  Further options do not apply in
this case.  If the query command is followed by nothing or one of
the options listed below, the services are enumerated.
type=    Type of services to enumerate (driver, service, all)
(default = service)
state=   State of services to enumerate (inactive, all)
(default = active)
bufsize= The size (in bytes) of the enumeration buffer
(default = 4096)
ri=      The resume index number at which to begin the enumeration
(default = 0)
group=   Service group to enumerate
(default = all groups)
SYNTAX EXAMPLES
sc query                - Enumerates status for active services &amp; drivers
sc query messenger      - Displays status for the messenger service
sc queryex messenger    - Displays extended status for the messenger service
sc query type= driver   - Enumerates only active drivers
sc query type= service  - Enumerates only Win32 services
sc query state= all     - Enumerates all services &amp; drivers
sc query bufsize= 50    - Enumerates with a 50 byte buffer.
sc query ri= 14         - Enumerates with resume index = 14
sc queryex group= ""    - Enumerates active services not in a group
sc query type= service type= interact - Enumerates all interactive services
sc query type= driver group= NDIS     - Enumerates all NDIS drivers</pre>
<p><img title="sc command options" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0052/option_list_sc_2.jpg" alt="sc command options" /></p>
<p>As you see in its options, you can start, stop and query Windows Services.</p>
<p>1. To query all Windows Services at your console window, just enter <code>sc query</code> at prompt or if you want show one service, type <code>sc query mysql</code> then press <strong>Enter</strong> key.</p>
<p>2. To stop a service, type <code>sc stop service_name</code>, for example <code>sc stop mysql</code>.</p>
<p>3. To start a service, type <code>sc start service_name</code>, for example, <code>sc start mysql</code>.</p>
<p>4. And to delete a service, type <code>sc delete service_name</code>, for example, <code>sc delete mysql</code>.</p>
<p><img title="sc command to delete a service" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0052/sc_delete_3.jpg" alt="sc command to delete a service" /></p>
<p>Actually, there are still many options available in <code>sc</code> command. You can try it one by one. But be careful, because you are play with Windows Services.</p>
<p>Don’t forget you can also query all Windows Services in GUI mode.</p>
<p><img title="GUI mode" src="http://www.otakatik.com/wp-content/uploads/tiptricks/0052/mysql_service_list_1.jpg" alt="GUI mode" /></p>
<p><em>(article no:0052)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.otakatik.com/removing-windows-service-on-windows-xp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
