<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:osnews="http://osnews.com/rss2#">
	<channel>
		<title>OSNews: </title>
		<link>http://www.osnews.com/story/18796/DOS_Lives_Secrets_of_the_Windows_Command_Prompt</link>
		<description>Exploring the Future of Computing</description>
		<language>en-us</language>
		<copyright>Copyright 2001-2009, David Adams</copyright>
		<webMaster>adam+nospam@osnews.com</webMaster>
		<lastBuildDate>Mon, 09 Nov 2009 03:32:23 GMT</lastBuildDate>
		<image>
			<url>http://www.osnews.com/images/osnews.gif</url>
			<title>OSNews.com</title>
			<link>http://www.osnews.com</link>
		</image>
		<item>
			<title>Interesting...</title>
			<link>http://osnews.com/thread?279502</link>
			<guid isPermaLink="true">http://osnews.com/thread?279502</guid>
			<description>...if only for the news (to me) of the ROBOCOPY command.  That could be very handy at work (Win2K3R2 servers).  Of course, I'd much prefer <i>cp</i>, but you can't have everything.</description>
			<pubDate>Sun, 21 Oct 2007 11:36:00 GMT</pubDate>
			<author>donotreply@osnews.com (mwtomlinson)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>It's worth noting…</title>
			<link>http://osnews.com/thread?279503</link>
			<guid isPermaLink="true">http://osnews.com/thread?279503</guid>
			<description>Â…that CMD.EXE isn't DOS at all. It's a Win32/Win64 console application, that presents a command-line interface <i>similar</i> to DOS. If you want emulated DOS, you run COMMAND.COM (and notice how sluggish it feels in comparison).<br />
<br />
CMD.EXE has moved on an awful lot from the interface it inherited from DOS (lots of new commands and new switches to older commands, as well as incidental features, and slight variances in behaviours to make life easier for people doing scripting).</description>
			<pubDate>Sun, 21 Oct 2007 11:39:00 GMT</pubDate>
			<author>donotreply@osnews.com (nevali)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>DOS?</title>
			<link>http://osnews.com/thread?279504</link>
			<guid isPermaLink="true">http://osnews.com/thread?279504</guid>
			<description>Cmd.exe is not DOS, like some parts of the article seems to imply.<br />
Edit: To late.Edited 2007-10-21 11:42</description>
			<pubDate>Sun, 21 Oct 2007 11:42:00 GMT</pubDate>
			<author>donotreply@osnews.com (Invincible Cow)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Interesting...</title>
			<link>http://osnews.com/thread?279505</link>
			<guid isPermaLink="true">http://osnews.com/thread?279505</guid>
			<description>Yeah, it's a quite interesting artice. Even though I am using Cygwin with Bash as my shell of choice under Windows, there're some information I might use in the future (especially the Networking part)</description>
			<pubDate>Sun, 21 Oct 2007 11:42:00 GMT</pubDate>
			<author>donotreply@osnews.com (SCHWEjK)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>finally...</title>
			<link>http://osnews.com/thread?279507</link>
			<guid isPermaLink="true">http://osnews.com/thread?279507</guid>
			<description>(DOS can use forward slashes, but their behavior is inconsistent, so it's safest to stick with the backslash.)<br />
<br />
That's news to me.<br />
<br />
ROBOCOPY is a directory-copying (i.e., folder-copying) tool. It can even mirror a directory tree on a network computer, which can help you resume automatically after a network failure.<br />
<br />
FINALLY, WE CAN COPY DI...err...FOLDERS!! OMG!!!111<br />
<br />
And my favorite:<br />
<br />
GETMAC<br />
<br />
Quickly and diligently, your PC's MAC address appears. <br />
<br />
DOS got colourful command prompt NOW!!!<br />
<br />
COLOR 1F<br />
<br />
<br />
WOW, just wow....</description>
			<pubDate>Sun, 21 Oct 2007 11:48:00 GMT</pubDate>
			<author>donotreply@osnews.com (antik)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: DOS?</title>
			<link>http://osnews.com/thread?279509</link>
			<guid isPermaLink="true">http://osnews.com/thread?279509</guid>
			<description>Cmd.exe is not DOS, like some parts of the article seems to imply. <br />
<br />
IIRC then in Windows NT 4.0 sometimes cmd.exe reported DOS version 5.0 or something.</description>
			<pubDate>Sun, 21 Oct 2007 11:50:00 GMT</pubDate>
			<author>donotreply@osnews.com (antik)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: DOS?</title>
			<link>http://osnews.com/thread?279514</link>
			<guid isPermaLink="true">http://osnews.com/thread?279514</guid>
			<description><div class="cquote">IIRC then in Windows NT 4.0 sometimes cmd.exe reported DOS version 5.0 or something. </div><br />
<br />
If you run "COMMAND.COM" (or some other actual DOS program), the INT 21h function call to return the DOS version reported that it was MS-DOS 5.0; this is buried in ntvdm (the virtual DOS machine that provides emulation services for DOS programs).<br />
<br />
CMD.EXE would always report the actual Windows version, as it had nothing to do with the DOS VM.</description>
			<pubDate>Sun, 21 Oct 2007 12:05:00 GMT</pubDate>
			<author>donotreply@osnews.com (nevali)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: finally...</title>
			<link>http://osnews.com/thread?279523</link>
			<guid isPermaLink="true">http://osnews.com/thread?279523</guid>
			<description>&gt; FINALLY, WE CAN COPY DI...err...FOLDERS!! OMG!!!111<br />
<br />
Hold your sarcasm. The ability to correctly resume ofter a network disruption, or the mirroring ability (deleting files in the destination that were deleted in the source) are very useful.</description>
			<pubDate>Sun, 21 Oct 2007 12:39:00 GMT</pubDate>
			<author>donotreply@osnews.com (pxa270)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: finally...</title>
			<link>http://osnews.com/thread?279527</link>
			<guid isPermaLink="true">http://osnews.com/thread?279527</guid>
			<description>One word: rsync</description>
			<pubDate>Sun, 21 Oct 2007 12:59:00 GMT</pubDate>
			<author>donotreply@osnews.com (siride)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Interesting...</title>
			<link>http://osnews.com/thread?279563</link>
			<guid isPermaLink="true">http://osnews.com/thread?279563</guid>
			<description>Google &quot;Robocopy GUI&quot; for a decent graphical frontend to Robocopy. It's finicky, but helps out with the plethora of switches, plus you can script it out after designing it for doing batch processing.<br />
<br />
<a href="http://www.microsoft.com/technet/technetmag/issues/2006/11/UtilitySpotlight/" rel="nofollow">http://www.microsoft.com/technet/technetmag/issues/2006/11/UtilityS...</a> <br />
<br />
It's also worth mentioning that xcopy can do many of the things robocopy can do, such as the ability to restart failed copies, preserving file ACLs/attributes, etc.</description>
			<pubDate>Sun, 21 Oct 2007 15:06:00 GMT</pubDate>
			<author>donotreply@osnews.com (jayson.knight)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>CMD.EXE</title>
			<link>http://osnews.com/thread?279574</link>
			<guid isPermaLink="true">http://osnews.com/thread?279574</guid>
			<description>As far as I can tell, the sole purpose of CMD.EXE is to let the wizened old computer science professors here continue to pretend that GUIs never happened...<br />
<br />
From the article:<br />
<br />
<div class="cquote">Rumor has it that some Windows programmers at Microsoft almost exclusively use the command prompt to configure and run their systems. </div><br />
<br />
To hear some Microsoft programmers talk about Windows Powershell as if it's God's gift to them, and how it is the best UI ever, I do not doubt this.Edited 2007-10-21 15:58 UTC</description>
			<pubDate>Sun, 21 Oct 2007 15:55:00 GMT</pubDate>
			<author>donotreply@osnews.com (Almafeta)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>They should try</title>
			<link>http://osnews.com/thread?279578</link>
			<guid isPermaLink="true">http://osnews.com/thread?279578</guid>
			<description>bash, I think they will like it.Edited 2007-10-21 16:12</description>
			<pubDate>Sun, 21 Oct 2007 16:12:00 GMT</pubDate>
			<author>donotreply@osnews.com (troc)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[3]: finally...</title>
			<link>http://osnews.com/thread?279585</link>
			<guid isPermaLink="true">http://osnews.com/thread?279585</guid>
			<description>come now <img src="/images/emo/smile.gif" alt=";)" />  just because we have things a little more luxurious than them doesent mean we should announce it to them <img src="/images/emo/grin.gif" alt=";)" /></description>
			<pubDate>Sun, 21 Oct 2007 16:56:00 GMT</pubDate>
			<author>donotreply@osnews.com (Redeeman)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: CMD.EXE</title>
			<link>http://osnews.com/thread?279586</link>
			<guid isPermaLink="true">http://osnews.com/thread?279586</guid>
			<description><i>As far as I can tell, the sole purpose of CMD.EXE is to let the wizened old computer science professors here continue to pretend that GUIs never happened... </i><br />
<br />
Or perhaps it's the easiest way to automate large cumbersome tasks other than downloading a full development environment and learning a programming language.<br />
<br />
I find that GUIs are generally imprecise and error-prone methods of commanding a computer to manipulate files in a way that could otherwise be done very simply and quickly from a command prompt.<br />
<br />
The GUI doesn't solve the world's computer-use problems, it often just puts a single-button interface in front of a user that couldn't otherwise do anything.<br />
<br />
(edit: fixed tag)Edited 2007-10-21 16:59</description>
			<pubDate>Sun, 21 Oct 2007 16:59:00 GMT</pubDate>
			<author>donotreply@osnews.com (umccullough)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Command line is very useful, but...</title>
			<link>http://osnews.com/thread?279590</link>
			<guid isPermaLink="true">http://osnews.com/thread?279590</guid>
			<description>... the Windows command prompt is lousy at best. Fortunately you can install the GNU tools on Win32 and do some serious scripting.Edited 2007-10-21 17:33</description>
			<pubDate>Sun, 21 Oct 2007 17:32:00 GMT</pubDate>
			<author>donotreply@osnews.com (Sodki)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: CMD.EXE</title>
			<link>http://osnews.com/thread?279596</link>
			<guid isPermaLink="true">http://osnews.com/thread?279596</guid>
			<description><div class="cquote">As far as I can tell, the sole purpose of CMD.EXE is to let the wizened old computer science professors here continue to pretend that GUIs never happened...  </div><br />
<br />
Two words:<br />
<br />
Logon scripts.</description>
			<pubDate>Sun, 21 Oct 2007 18:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (nevali)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>security</title>
			<link>http://osnews.com/thread?279597</link>
			<guid isPermaLink="true">http://osnews.com/thread?279597</guid>
			<description>There is a lot of commands and info available in there. How does it handle security?  What can the non-administrative user do?</description>
			<pubDate>Sun, 21 Oct 2007 18:13:00 GMT</pubDate>
			<author>donotreply@osnews.com (matthekc)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>4NT</title>
			<link>http://osnews.com/thread?279601</link>
			<guid isPermaLink="true">http://osnews.com/thread?279601</guid>
			<description>I still prefer JPSoft's 4NT (as I did in the age of dos, but then I preferred 4DOS :-)</description>
			<pubDate>Sun, 21 Oct 2007 18:27:00 GMT</pubDate>
			<author>donotreply@osnews.com (leplatdujour)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[4]: finally...</title>
			<link>http://osnews.com/thread?279603</link>
			<guid isPermaLink="true">http://osnews.com/thread?279603</guid>
			<description>After years of ignoring rsync, because I don't run any mirrors and prefered archive formats like tar.lzo for backups, I have &quot;discovered&quot; rsync.  It is truly amazing.  I always assumed that it only operated at the file level.  In reality, the amazing rsync algorithm can operate upon files down to the 1k block level, quickly and efficiently syncing corresponding files which differ, with transparent compression, and with minimal use of bandwidth and processor.  Once in a while I come across something that I have *known about* for years, which absolutely stuns me  when I look closer and discover its true capabilities.</description>
			<pubDate>Sun, 21 Oct 2007 18:31:00 GMT</pubDate>
			<author>donotreply@osnews.com (sbergman27)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: security</title>
			<link>http://osnews.com/thread?279604</link>
			<guid isPermaLink="true">http://osnews.com/thread?279604</guid>
			<description>Basically anything that doesn't affect the state of the system outside the user's given set of privileges (e.g., standard user can't modify files owned by the system or another user). You can use <b>runas</b> to run commands using different credentials, or optionally on Vista, right-click the command prompt shortcut and click &quot;run as administrator&quot; to open an elevated prompt.Edited 2007-10-21 18:38</description>
			<pubDate>Sun, 21 Oct 2007 18:38:00 GMT</pubDate>
			<author>donotreply@osnews.com (n4cer)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Change colors</title>
			<link>http://osnews.com/thread?279606</link>
			<guid isPermaLink="true">http://osnews.com/thread?279606</guid>
			<description>[i]It's also possible to change the command prompt window's text and background colors, something old-time DOS users requested for years.<br />
<br />
Huh? You've been able to do this in DOS for as long as I can remember using it. I used to do this with DR-DOS and MS-DOS 4 or 5, can't remember but it certainly isn't something new.</description>
			<pubDate>Sun, 21 Oct 2007 18:57:00 GMT</pubDate>
			<author>donotreply@osnews.com (Zoidberg)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Change colors</title>
			<link>http://osnews.com/thread?279607</link>
			<guid isPermaLink="true">http://osnews.com/thread?279607</guid>
			<description><div class="cquote">Huh? You've been able to do this in DOS for as long as I can remember using it. I used to do this with DR-DOS and MS-DOS 4 or 5, can't remember but it certainly isn't something new. </div><br />
<br />
You could do it with ANSI.SYS and clever use of the PROMPT environment variable since DOS 3.0, possibly earlier.<br />
<br />
Windows does it differently, though, and somewhat more cleanly.</description>
			<pubDate>Sun, 21 Oct 2007 19:01:00 GMT</pubDate>
			<author>donotreply@osnews.com (nevali)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Command line is very useful, but...</title>
			<link>http://osnews.com/thread?279608</link>
			<guid isPermaLink="true">http://osnews.com/thread?279608</guid>
			<description>Yes, one can install GNU tools - or possibly Cygwin - or SFU (Services For Unix - parts released under the GPL by Microsoft) - or one can install Windows PowerShell. It is ~99% compatible with Bash-syntax as well as old DOS-syntax.<br />
<br />
copy, cp, del, rm, dir, ls, move, mv and so on... it's there.<br />
<br />
Not in the older CLI - but the newer CLI. Microsoft should at least have credit for that.</description>
			<pubDate>Sun, 21 Oct 2007 19:01:00 GMT</pubDate>
			<author>donotreply@osnews.com (dylansmrjones)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: CMD.EXE</title>
			<link>http://osnews.com/thread?279612</link>
			<guid isPermaLink="true">http://osnews.com/thread?279612</guid>
			<description><i>As far as I can tell, the sole purpose of CMD.EXE is to let the wizened old computer science professors here continue to pretend that GUIs never happened... </i><br />
<br />
Well, then you're misinformed.  Scripting is a terribly useful thing, and most GUI's completely suck at it-- or would, if they actually did it at all.<br />
<br />
Using a gui of your choice under Windows Server 2003R2, create a job to run nightly that creates a .zip file of a specific directory, copies it to another server, and maintains no more than 5 past copies.  The zip files should have a name of the format of &quot;backups-YYYYMMDD.zip&quot; where YYYY is the year, MM is the numeric month, and DD is the numeric day.<br />
<br />
I used infozip's zip.exe, cmd.exe (batch file), and scheduled tasks.  I could have used perl, but the script would have been more complicated(!?!), and it would be Yet Another Package to document and maintain in the event the system needs to be rebuilt.</description>
			<pubDate>Sun, 21 Oct 2007 19:15:00 GMT</pubDate>
			<author>donotreply@osnews.com (grat)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Command line is very useful, but...</title>
			<link>http://osnews.com/thread?279614</link>
			<guid isPermaLink="true">http://osnews.com/thread?279614</guid>
			<description>&quot;Fortunately you can install the GNU tools on Win32 and do some serious scripting.&quot;<br />
<br />
Or use VBscript, or a combination of Automator/Applescript/Bash on OSX :-)</description>
			<pubDate>Sun, 21 Oct 2007 19:35:00 GMT</pubDate>
			<author>donotreply@osnews.com (netpython)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Correction to Article...</title>
			<link>http://osnews.com/thread?279617</link>
			<guid isPermaLink="true">http://osnews.com/thread?279617</guid>
			<description>&quot;Buried deep within Mac OSX's bosom is a carbon-crusted fossil from the ancient days of computing. This aged wart on OSX's soul harkens back to a more primitive time, when computers lacked the oomph to go graphical and mice were nothing but rodents. I speak of the command prompt, whose roots lie in UNIX, that antique operating system of the 1980s. UNIX is gone now. Yet despite OSX's glorious graphical goodness, a wispy memory of text-based computer life still exists. It's a program called TERMINAL, and it appears in OSX as the command prompt window. Believe it or not, the command prompt to this day still serves as a useful alternative way to control your computer. Indeed, there are some things you can do in the command prompt window that in OSX's graphical interface are tedious, slow or darn near impossible. Come with me as we discover how an old warhorse like UNIX can once again find purpose.&quot;</description>
			<pubDate>Sun, 21 Oct 2007 19:59:00 GMT</pubDate>
			<author>donotreply@osnews.com (sfernald)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: CMD.EXE</title>
			<link>http://osnews.com/thread?279625</link>
			<guid isPermaLink="true">http://osnews.com/thread?279625</guid>
			<description>&quot;As far as I can tell, the sole purpose of CMD.EXE is to let the wizened old computer science professors here continue to pretend that GUIs never happened...&quot;<br />
<br />
Ignorance is not a point of view, pal.</description>
			<pubDate>Sun, 21 Oct 2007 20:51:00 GMT</pubDate>
			<author>donotreply@osnews.com (Snifflez)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Correction to Article...</title>
			<link>http://osnews.com/thread?279626</link>
			<guid isPermaLink="true">http://osnews.com/thread?279626</guid>
			<description>BWA-HAHAHAHA!  Oh, that was classic!  So true... so true... except I think MacOS X, then, has older &quot;bits&quot; in it than even Windows XP/Vista.  For shame! :-)<br />
<br />
Or does this article ALSO apply to XP/Vista?  *gasp!*</description>
			<pubDate>Sun, 21 Oct 2007 20:56:00 GMT</pubDate>
			<author>donotreply@osnews.com (Luposian)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Command line is very useful, but...</title>
			<link>http://osnews.com/thread?279628</link>
			<guid isPermaLink="true">http://osnews.com/thread?279628</guid>
			<description>Don't ever use VBscript. There's a reason why it is hidden away as much as possible in WinXP and Win2K3.</description>
			<pubDate>Sun, 21 Oct 2007 21:01:00 GMT</pubDate>
			<author>donotreply@osnews.com (dylansmrjones)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: CMD.EXE</title>
			<link>http://osnews.com/thread?279629</link>
			<guid isPermaLink="true">http://osnews.com/thread?279629</guid>
			<description>&quot;&quot;&quot;<br />
<div class="cquote">As far as I can tell, the sole purpose of CMD.EXE is to let the wizened old computer science professors here continue to pretend that GUIs never happened... </div><br />
&quot;&quot;&quot;<br />
<br />
No.  I *rarely* use Windows.  But I have clients who do.  And some of them have need to connect to their Linux servers remotely.  There is ssh, of course.  But dynamic IPs, combined with the prevalence of brute force password attacks these days makes straight ssh a no go.  And, of course, they want to print.  OpenVPN is *great*.  But talking a user through copying a key file and config file to the proper location and setting it up to run as a service is a frustrating affair for all concerned.<br />
<br />
But with cmd.exe, it's easy to send them a zip file and have them simply click &quot;setup&quot;.  While Windows' command line does not seem to be as powerful as what I am used to, I was pleasantly surprised that I could start the service and set it to start automatically in just a couple of lines.<br />
<br />
I'm hardly a wizened old computer science professor.  But it's obvious to me that one does not have to look hard to find real *utility* in the Windows command line in the 21st century.<br />
<br />
Didn't I read an article a while back saying that future Windows Server versions would have the option to run *without* a gui?<br />
<br />
I'm not a big Microsoft fan, as my OSNews comrades surely know.  But hey, we learn from them.  They learn from us.</description>
			<pubDate>Sun, 21 Oct 2007 21:11:00 GMT</pubDate>
			<author>donotreply@osnews.com (sbergman27)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: CMD.EXE</title>
			<link>http://osnews.com/thread?279631</link>
			<guid isPermaLink="true">http://osnews.com/thread?279631</guid>
			<description><div class="cquote">Two words: Logon scripts. </div><br />
<br />
I don't know what an old unpatched vulnerability has to do with the topic at hand...</description>
			<pubDate>Sun, 21 Oct 2007 21:30:00 GMT</pubDate>
			<author>donotreply@osnews.com (Almafeta)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[3]: CMD.EXE</title>
			<link>http://osnews.com/thread?279633</link>
			<guid isPermaLink="true">http://osnews.com/thread?279633</guid>
			<description><div class="cquote">I don't know what an old unpatched vulnerability has to do with the topic at hand... </div><br />
<br />
Eh?<br />
<br />
Have you ever been near a corporate Windows installation? Logon scripts are used fairly typically on a regular basis to ensure consistency across the network (although I'm sure Microsoft would rather they were all written in VBscript or were GPOs or something instead). It's not uncommon for ITS to need to roll out "ensure X is in Y location for every user when they log on" type stuff, or forcibly mount network drives (WindowsÂ—rightlyÂ—won't "remember"Â to re-mount a share next time you log on if you manually disconnect it), or sync some arbitrary data with your proprietary back-office at logon time.</description>
			<pubDate>Sun, 21 Oct 2007 21:38:00 GMT</pubDate>
			<author>donotreply@osnews.com (nevali)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Command line is very useful, but...</title>
			<link>http://osnews.com/thread?279685</link>
			<guid isPermaLink="true">http://osnews.com/thread?279685</guid>
			<description>The windows command line is OK. But for serious command line stuff I use a wrapper around it. My personal favourite is winconsole(<a href="http://winconsole.co3soft.net" rel="nofollow">http://winconsole.co3soft.net</a>).</description>
			<pubDate>Mon, 22 Oct 2007 02:09:00 GMT</pubDate>
			<author>donotreply@osnews.com (rogerH12)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Correction to Article...</title>
			<link>http://osnews.com/thread?279696</link>
			<guid isPermaLink="true">http://osnews.com/thread?279696</guid>
			<description>You're the best poster on OSNews.</description>
			<pubDate>Mon, 22 Oct 2007 03:00:00 GMT</pubDate>
			<author>donotreply@osnews.com (senornoodle)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>PITA to use</title>
			<link>http://osnews.com/thread?279704</link>
			<guid isPermaLink="true">http://osnews.com/thread?279704</guid>
			<description>My interest to use windows command shell / dos ( or whatever you want to call it) dropped quickly when i first time needed read current date to a variable in BAT file.<br />
<br />
Please, if _anyone_ knows any better way to do this on bat file not using any 3rd party tool, please let me know.<br />
<br />
rem get date<br />
FOR /F &quot;tokens=2&quot; %%i IN ('date /t') DO set mydate=%%i</description>
			<pubDate>Mon, 22 Oct 2007 03:59:00 GMT</pubDate>
			<author>donotreply@osnews.com (Hurtta)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[4]: finally...</title>
			<link>http://osnews.com/thread?279705</link>
			<guid isPermaLink="true">http://osnews.com/thread?279705</guid>
			<description>ROBOCOPY also has a folder-change notification based mirroring mode that monitors and syncs.  Also, there's no reason you can't run rsync on Windows <img src="/images/emo/smile.gif" alt=";)" /> .  It's just a program after all.</description>
			<pubDate>Mon, 22 Oct 2007 04:24:00 GMT</pubDate>
			<author>donotreply@osnews.com (PlatformAgnostic)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: CMD.EXE</title>
			<link>http://osnews.com/thread?279708</link>
			<guid isPermaLink="true">http://osnews.com/thread?279708</guid>
			<description><div class="cquote">Or perhaps it's the easiest way to automate large cumbersome tasks other than downloading a full development environment and learning a programming language.  </div><br />
<br />
Yes indeed. Anyone who has tried Windows scripting, WSH GUI scripting not command line batch, will agree with this. Spending a couple minutes whipping up an on the fly batch file is nothing really even for a novice while whipping up an WSH file is pretty hellish, especially for a novice.</description>
			<pubDate>Mon, 22 Oct 2007 04:40:00 GMT</pubDate>
			<author>donotreply@osnews.com (Flatland_Spider)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: CMD.EXE</title>
			<link>http://osnews.com/thread?279712</link>
			<guid isPermaLink="true">http://osnews.com/thread?279712</guid>
			<description>It's pretty amazing what can be done with CMD.exe after rooting around in it, and about it, for a while. My personal favorites are CACL(S), I think that's the correct spelling, and diskpart. There are pretty powerful tools out there, but the mainly manifest themselves in the enterprise arena. <br />
<br />
It's still not as powerful as the Unix command line, but that has been honed for years.</description>
			<pubDate>Mon, 22 Oct 2007 04:46:00 GMT</pubDate>
			<author>donotreply@osnews.com (Flatland_Spider)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: They should try</title>
			<link>http://osnews.com/thread?279714</link>
			<guid isPermaLink="true">http://osnews.com/thread?279714</guid>
			<description>They have bash. It's not base, but it can be added on.<br />
<br />
<a href="http://en.wikipedia.org/wiki/Microsoft_Windows_Services_for_UNIX" rel="nofollow">http://en.wikipedia.org/wiki/Microsoft_Windows_Services_for_UNIX</a></description>
			<pubDate>Mon, 22 Oct 2007 04:54:00 GMT</pubDate>
			<author>donotreply@osnews.com (Flatland_Spider)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Some minor mistakes</title>
			<link>http://osnews.com/thread?279715</link>
			<guid isPermaLink="true">http://osnews.com/thread?279715</guid>
			<description>NET USE by itself does not show who's using your shares... it just shows which shares you have credentials for and are using at the moment.<br />
<br />
The rundll command he mentioned is also not exactly described properly.  Rundll loads a dll and calls a function with the passed in parameters.  In his &quot;%SYSTEMROOT%SYSTEM32RUNDLL32.EXE &quot;%PROGRAMFILES%WINDOWS PHOTO GALLERYPHOTOVIEWER.DLL&quot;, IMAGEVIEW_FULLSCREEN %1&quot; command, he's calling a function called ImageView_FullscreenW in photoviewer.dll.  <br />
<br />
Some unmentioned but useful commands are &quot;NETSH&quot; and &quot;WMIC&quot;.  <br />
<br />
Windows .cmd files are not the most pleasant development environment, but they do get the job done and vbscript can be used for most of the more complicated jobs.  <br />
<br />
I really don't see the huge advantage that the common UNIX CLIs give the user over CMD.EXE.  I'm curious about this one for instance:  what's the UNIX equivalent of &quot;RENAME foo.* bar.*&quot; in a directory containing files &quot;foo.h and foo.cpp&quot;?</description>
			<pubDate>Mon, 22 Oct 2007 04:57:00 GMT</pubDate>
			<author>donotreply@osnews.com (PlatformAgnostic)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: DOS?</title>
			<link>http://osnews.com/thread?279720</link>
			<guid isPermaLink="true">http://osnews.com/thread?279720</guid>
			<description><div class="cquote">IIRC </div><br />
<br />
You recall incorrectly. Cmd.exe has never pretended to be command.com or DOS.</description>
			<pubDate>Mon, 22 Oct 2007 05:32:00 GMT</pubDate>
			<author>donotreply@osnews.com (Soulbender)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: finally...</title>
			<link>http://osnews.com/thread?279722</link>
			<guid isPermaLink="true">http://osnews.com/thread?279722</guid>
			<description><div class="cquote">FINALLY, WE CAN COPY DI...err...FOLDERS!! OMG!!!111  </div><br />
<br />
Am I the only one old enough to remember xcopy?</description>
			<pubDate>Mon, 22 Oct 2007 05:33:00 GMT</pubDate>
			<author>donotreply@osnews.com (Soulbender)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: CMD.EXE</title>
			<link>http://osnews.com/thread?279723</link>
			<guid isPermaLink="true">http://osnews.com/thread?279723</guid>
			<description><div class="cquote">As far as I can tell, the sole purpose of CMD.EXE is to let the wizened old computer science professors here continue to pretend that GUIs never happened...  </div><br />
<br />
Good thing Windows comes with GUI ping, route and tracert, right? Oh wait, it doesn't.<br />
Not that the CLI tools are good (they're quite abysmal really) but it's all you get to do basic troubleshooting with.</description>
			<pubDate>Mon, 22 Oct 2007 05:36:00 GMT</pubDate>
			<author>donotreply@osnews.com (Soulbender)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: Some minor mistakes</title>
			<link>http://osnews.com/thread?279725</link>
			<guid isPermaLink="true">http://osnews.com/thread?279725</guid>
			<description><div class="cquote">I really don't see the huge advantage that the common UNIX CLIs give the user over CMD.EXE. </div><br />
<br />
As an interactive shell the difference isn't that big. You got your command history and command completion (does CMD have completion? I cant remember).<br />
What makes the *nix CLI superior is the abundance of useful CLI apps, piping and the shell scripting. Bat and cmd files aren't exactly smooth sailing and there's not a lot of usefull CLI tools.</description>
			<pubDate>Mon, 22 Oct 2007 05:43:00 GMT</pubDate>
			<author>donotreply@osnews.com (Soulbender)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>written by a baby ...</title>
			<link>http://osnews.com/thread?279730</link>
			<guid isPermaLink="true">http://osnews.com/thread?279730</guid>
			<description>well, gee. the command prompt has never gone away, as the fresh-out-of-puberty (i suspect) author of the article tried to imply. for most of us experienced windows users, it is very much alive.<br />
<br />
one infamous incident has a microsoft engineer making a file copy via command line while demoing a new windows releases ...</description>
			<pubDate>Mon, 22 Oct 2007 06:14:00 GMT</pubDate>
			<author>donotreply@osnews.com (lucifer)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[2]: Some minor mistakes</title>
			<link>http://osnews.com/thread?279731</link>
			<guid isPermaLink="true">http://osnews.com/thread?279731</guid>
			<description><div class="cquote">does CMD have completion? I cant remember </div><br />
<br />
CMD supports file and directory completion and you can configure the key(s) that map to each function. The TAB key is used by default in most cases. Some versions of Windows (e.g., IIRC Windows 2000 RTM) may have completion disabled or not mapped to TAB by default (CTRL+D/CTRL+F for directories/files respectively). In this case, type <b>cmd /?</b> for details on enabling/remapping completion.</description>
			<pubDate>Mon, 22 Oct 2007 06:16:00 GMT</pubDate>
			<author>donotreply@osnews.com (n4cer)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Big Chunky Text</title>
			<link>http://osnews.com/thread?279738</link>
			<guid isPermaLink="true">http://osnews.com/thread?279738</guid>
			<description>For a real trip down amnesia lane press Alt-Enter in a CMD window, and check out DOS (or its look-alike) in all its full screen glory on your 21&quot; LCD  :-)</description>
			<pubDate>Mon, 22 Oct 2007 07:43:00 GMT</pubDate>
			<author>donotreply@osnews.com (HappyGod)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>? </title>
			<link>http://osnews.com/thread?279781</link>
			<guid isPermaLink="true">http://osnews.com/thread?279781</guid>
			<description>Always thought CMD was the NT command shell and COMMAND was dos? <br />
<br />
If you go to start run and type COMMAND you will get Microsoft Windows DOS <br />
<br />
You can tell the difference because in DOS you can't see spaces in folders like you can in the NT shell. <br />
<br />
So if you are in docs and settings in the NT shell you get: c:Documents and SettingsUsername<br />
<br />
In DOS you get: c:DOCUME~1Username</description>
			<pubDate>Mon, 22 Oct 2007 11:46:00 GMT</pubDate>
			<author>donotreply@osnews.com (Windows Sucks)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE[5]: finally...</title>
			<link>http://osnews.com/thread?279789</link>
			<guid isPermaLink="true">http://osnews.com/thread?279789</guid>
			<description>right.... its just a freaking pain and install it for winblows.. i for one really really prefer having it by default with gentoo, or simply issuing 1 command and have the package manager install it <img src="/images/emo/smile.gif" alt=";)" /></description>
			<pubDate>Mon, 22 Oct 2007 12:31:00 GMT</pubDate>
			<author>donotreply@osnews.com (Redeeman)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>Windows Command Line / Shell</title>
			<link>http://osnews.com/thread?279803</link>
			<guid isPermaLink="true">http://osnews.com/thread?279803</guid>
			<description>on the NT side of things that is, NT/2k/XP/Vista;<br />
<br />
cmd, and a host of tools have long been available for scripters. in corp land this stuff is used pretty often. <br />
<br />
large cmd scripts, vbs scripts with all sorts of wsh, or just pure wsh. there are also tons of cmd/shell based tools available for scripters, things like ifmember for parsing nt and ad groups of cusrmgr the comand line user manager.<br />
<br />
and on the vbs/Perl side of things there is tons of native calls you can do. <br />
<br />
<br />
this is not rocket science, windows admins have been scripting since day one. (at least good admins do)<br />
<br />
its not unlike good Unix admins, script everything. just becuase some people did not know, its possiable in windows does not mean you cann't do it. there is even rysnc for windows, and most of the GNU tools have all been ported also. things like sed, etc are all there if you want them.<br />
<br />
sheesh....<br />
<br />
<br />
<br />
<br />
-Nex6Edited 2007-10-22 13:26</description>
			<pubDate>Mon, 22 Oct 2007 13:24:00 GMT</pubDate>
			<author>donotreply@osnews.com (Nex6)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>RE: PITA to use</title>
			<link>http://osnews.com/thread?279975</link>
			<guid isPermaLink="true">http://osnews.com/thread?279975</guid>
			<description>C:TEMP&gt;echo %DATE% %TIME%<br />
<br />
Mon 10/22/2007 18:22:37.84</description>
			<pubDate>Mon, 22 Oct 2007 23:23:00 GMT</pubDate>
			<author>donotreply@osnews.com (Rugxulo)</author>
			<category>Comments</category>
		</item>

		<item>
			<title>GUI vs. command line</title>
			<link>http://osnews.com/thread?280069</link>
			<guid isPermaLink="true">http://osnews.com/thread?280069</guid>
			<description>It is very simple: For tasks you don't do often, so that you basically have to relearn them every time you do them, ad GUI is more efficient, because it's procedures are closer to real-world physical experiences the user has (take drag and drop moving of some file, it's close to moving physical objects).<br />
<br />
For tasks you do often, the command line is better, because you don't need to relearn all the time, and the command line is much more powerful than the GUI.</description>
			<pubDate>Tue, 23 Oct 2007 10:05:00 GMT</pubDate>
			<author>donotreply@osnews.com (gustl)</author>
			<category>Comments</category>
		</item>
	</channel>
</rss>
