<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.scott5.org/index.php?action=history&amp;feed=atom&amp;title=Windows_shell_programming</id>
	<title>Windows shell programming - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.scott5.org/index.php?action=history&amp;feed=atom&amp;title=Windows_shell_programming"/>
	<link rel="alternate" type="text/html" href="https://wiki.scott5.org/index.php?title=Windows_shell_programming&amp;action=history"/>
	<updated>2026-04-17T10:52:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.scott5.org/index.php?title=Windows_shell_programming&amp;diff=518&amp;oldid=prev</id>
		<title>Scott: Created page with &#039;== Configuring the Shell == * To enable copy &amp; paste in the cmd shell: Click on the upper left corner of the window to pop up a menu. Choose Properties. Under the Options tab, ma…&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.scott5.org/index.php?title=Windows_shell_programming&amp;diff=518&amp;oldid=prev"/>
		<updated>2011-02-04T22:58:38Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;== Configuring the Shell == * To enable copy &amp;amp; paste in the cmd shell: Click on the upper left corner of the window to pop up a menu. Choose Properties. Under the Options tab, ma…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Configuring the Shell ==&lt;br /&gt;
* To enable copy &amp;amp; paste in the cmd shell: Click on the upper left corner of the window to pop up a menu. Choose Properties. Under the Options tab, make sure &amp;quot;Quick Edit&amp;quot; is selected.&lt;br /&gt;
* To copy some text, select it with the mouse and right click.&lt;br /&gt;
* To paste into the cmd shell, just right click. &lt;br /&gt;
&lt;br /&gt;
== Using MS-DOS ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
help            -gives a list of commands&lt;br /&gt;
help &amp;lt;command&amp;gt;  -explains how to use &amp;lt;command&amp;gt;&lt;br /&gt;
dir /?          -explains how to use dir&lt;br /&gt;
dir /x          -lists files in 8-char format&lt;br /&gt;
dir /p          -lists dir by screenful (page)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To send an instant message to someone on a LAN:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
net send &amp;lt;username&amp;gt; &amp;lt;message&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To write a batch script, save commands to a file with a &amp;quot;.cmd&amp;quot; suffix. To execute, type the file name at the command line.&lt;br /&gt;
&lt;br /&gt;
To get command line help search for &amp;quot;command shell overview&amp;quot; in Windows help (F1 from the desktop).&lt;br /&gt;
&lt;br /&gt;
To print out the names of all subdirectories of the current directory: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
for /D %d in (*) do echo %d&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To print out the names of all fna files in all subdirectories of the current directory: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
echo off&lt;br /&gt;
for /D %%d in (*) do (&lt;br /&gt;
    cd %%d&lt;br /&gt;
    for %%f in (*.fna) do echo %%d\%%f&lt;br /&gt;
    cd ..&lt;br /&gt;
)&lt;br /&gt;
echo on&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Scott</name></author>
	</entry>
</feed>