<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>batch &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/batch/</link>
	<description>Feed of posts on WordPress.com tagged "batch"</description>
	<pubDate>Thu, 26 Nov 2009 20:44:26 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Quick Batch File Compiler Portable]]></title>
<link>http://drocco.wordpress.com/2009/11/25/quick-batch-file-compiler-portable/</link>
<pubDate>Wed, 25 Nov 2009 21:12:10 +0000</pubDate>
<dc:creator>Rocco</dc:creator>
<guid>http://drocco.wordpress.com/2009/11/25/quick-batch-file-compiler-portable/</guid>
<description><![CDATA[Programa para transformar de archivos .bat a .exe puedes bajarlo desde este link http://www.mediafir]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;"><img class="alignright" title="Quick Batch File Compiler" src="http://i728.photobucket.com/albums/ww281/soft4all/Quick-Batch-File-Compiler.jpg" alt="" width="200" height="200" />Programa para transformar de archivos .bat a .exe puedes bajarlo desde este link <a title="Descargar Quick Batch File Compiler Portable" href="http://www.mediafire.com/?2y4r4dhmnmn" target="_blank">http://www.mediafire.com/?2y4r4dhmnmn</a>,es portable por ende no necesitarás del famoso crak, se encuentra en idioma inglés.</p>
<p style="text-align:justify;">A para realizar la transformación basta con abrir el archivo y hacer click donde dice &#8220;Buil EXE File&#8221;.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Prefer Real-time Capabilities Even If Your Consumers Don't]]></title>
<link>http://artofsoftwarereuse.com/2009/11/25/prefer-real-time-capabilities-even-if-your-consumers-dont/</link>
<pubDate>Wed, 25 Nov 2009 18:58:43 +0000</pubDate>
<dc:creator>vijaynarayanan</dc:creator>
<guid>http://artofsoftwarereuse.com/2009/11/25/prefer-real-time-capabilities-even-if-your-consumers-dont/</guid>
<description><![CDATA[Build near real-time capabilities even if your consumers don&#8217;t want them. Your consumer may no]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Build near real-time capabilities even if your consumers don&#8217;t want them. Your consumer may not want a real-time interface or maybe unable to integrate with one. It is tempting to just go for a batch based solution because, that is what your consumer is asking for. For now at least. However, if you build one off batch file extracts or directly expose your legacy system to make one consumer happy, you will encounter the ill effects of tightly coupled systems.</p>
<p>There are several approaches to achieve long-term reuse goals and address the immediate customer need:</p>
<ol>
<li>Publish a standard message that you will want to treat as a reuse candidate going forward. A subscriber can drain, accumulate messages, transform them to a customer-specific format, and and append it to a file. A scheduled job or process can transfer this file to your customer.</li>
<li>Create a reusable service capability that provides the data in the target format that you want to maintain/evolve going forward. You can create a batch process that shares the same interface that the real-time service uses.  Note: volume is a critical factor here though &#8211; you don&#8217;t want to make several atomic calls when it is more efficient to fetch data in bulk. You could have a configurable parameter for fetching multiple records at a time &#8211; the real-time service can use a much smaller number when compared to the batch process.</li>
<li>For large data volumes,  consider populating a read-only data store using database replication. File extracts can then be driven off this new database. This has the advantage of reducing load on your operational data stores at the same time facilitating additional consumers who might prefer a SQL interface or a file extract based solution. Downsides: additional moving parts and increased cost for a new data store.</li>
</ol>
<p>When you build real-time capabilities,  adding consumers doesn&#8217;t involve too much effort. Are there additional approaches to pursue?</p>
<p><strong>Like this post?</strong> Subscribe to <a href="http://feeds2.feedburner.com/SoftwareReuseInTheRealWorld">RSS feed</a> or get blog <a href="http://feedburner.google.com/fb/a/mailverify?uri=SoftwareReuseInTheRealWorld&#38;loc=en_US">updates via email</a>.</p>
<p style="text-align:right;"><strong> <a href="http://twitter.com/home?status=http://wp.me/ptCiB-z7"><img title="tweet this" src="/files/2009/10/twitter2.png" alt="tweet this" width="32" height="32" /></a> <a href="http://del.icio.us/post?url=http://wp.me/ptCiB-z7&#38;title=Prefer Real-time Capabilities Even If Your Consumers Don't"><img title="del.icio.us:Prefer Real-time Capabilities Even If Your Consumers Don't" src="/files/2009/10/dellicious.png" alt="add to del.icio.us" width="32" height="32" /></a></strong> <a href="http://www.facebook.com/sharer.php?u=http://wp.me/ptCiB-z7&#38;title=Prefer Real-time Capabilities Even If Your Consumers Don't"><img title="facebook:Prefer Real-time Capabilities Even If Your Consumers Don't" src="/files/2009/10/48x48.png" alt="post to facebook" width="32" height="32" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Canada stops use of one batch of flu vaccine]]></title>
<link>http://vatopaidi.wordpress.com/2009/11/25/canada-stops-use-of-one-batch-of-flu-vaccine/</link>
<pubDate>Wed, 25 Nov 2009 08:10:02 +0000</pubDate>
<dc:creator>VatopaidiFriend</dc:creator>
<guid>http://vatopaidi.wordpress.com/2009/11/25/canada-stops-use-of-one-batch-of-flu-vaccine/</guid>
<description><![CDATA[ Manitoba (Reuters) &#8211; Some Canadian provinces have stopped using a particular batch of the H1N]]></description>
<content:encoded><![CDATA[ Manitoba (Reuters) &#8211; Some Canadian provinces have stopped using a particular batch of the H1N]]></content:encoded>
</item>
<item>
<title><![CDATA[Mengubah Password User Windows Server 2000 Tanpa GUI]]></title>
<link>http://nhrs.wordpress.com/2009/11/22/mengubah-password-user-windows-server2000-tanpa-gui/</link>
<pubDate>Sun, 22 Nov 2009 15:30:26 +0000</pubDate>
<dc:creator>Novianto</dc:creator>
<guid>http://nhrs.wordpress.com/2009/11/22/mengubah-password-user-windows-server2000-tanpa-gui/</guid>
<description><![CDATA[Kemarin saya dapat tugas dari atasan untuk setting mail client di seluruh plant = Puluhan komputer d]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Kemarin saya dapat tugas dari atasan untuk setting mail client di seluruh plant = Puluhan komputer dengan puluhan username unik = BUANNYAK! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_lol.gif' alt=':lol:' class='wp-smiley' />  Untuk itu yang perlu saya lakukan pertama kali adalah mereset password SEMUA user. Bisa dibayangkan, berapa waktu yang dibutuhkan bila saya harus reset dengan <abbr title="Graphical User Interface">GUI</abbr>.wew!</p>
<p>Karena saya gak mau repot, maka saya pake deh perintah net user yang disediakan oleh Windows Server 2000.</p>
<blockquote><p><code>net user user1 12345678</code></p></blockquote>
<p>Perintah di atas digunakan untuk mengubah password user1 menjadi 12345678. Penjelasan lebih lanjut tentang net user ada di <a href="http://support.microsoft.com/kb/251394">website microsoft</a>.</p>
<p>Back to topic, berikut ini langkah-langkah yang saya lakukan</p>
<ol>
<li>Siapkan daftar username yang passwordnya harus direset. Gunakan MS Excel atau aplikasi spreadsheet lainnya.</li>
<li>Buat perintah net user untuk salah satu username<img style="display:block;text-align:center;margin:0 auto 10px;" title="net user" src="http://img255.imageshack.us/img255/2447/16843924.jpg" alt="net user" /></li>
<li>Copy paste perintah itu untuk semua username<img style="display:block;text-align:center;margin:0 auto 10px;" title="copy formula net user" src="http://img204.imageshack.us/img204/6114/70435498.jpg" alt="copy formula net user" /></li>
<li>Buka notepad, copy paste semua perintah ke dalam file teks, lalu simpan sebagai file batch (*.bat)<img style="display:block;text-align:center;margin:0 auto 10px;" title="net user in batch file" src="http://img88.imageshack.us/img88/8452/41823210.jpg" alt="net user in batch file" /></li>
<li>Jalankan file batch tersebut. TADA!! Password untuk semua user telah direset.</li>
</ol>
<p>That&#8217;s it. Sangat cepat kan? Bandingkan dengan penggunaan GUI. Jauuh! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><span style="font-weight:bold;">note</span>: Gunakan akun yang mempunyai akses sebagai administrator untuk menjalankan perintah tsb.</p>
<div class="flockcredit" style="text-align:right;color:#ccc;font-size:x-small;">Blogged with the <a style="color:#999;font-weight:bold;" title="Flock Browser" href="http://www.flock.com/blogged-with-flock" target="_new">Flock Browser</a></div>
<p><!-- tags begin --></p>
<p><!-- tags end --></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Enable Task Manager And Registry, If Disabled By Administrator]]></title>
<link>http://crystalunicorn.wordpress.com/2009/11/22/enable-task-manager-and-registry-if-disabled-by-administrator/</link>
<pubDate>Sun, 22 Nov 2009 14:45:13 +0000</pubDate>
<dc:creator>Aditya</dc:creator>
<guid>http://crystalunicorn.wordpress.com/2009/11/22/enable-task-manager-and-registry-if-disabled-by-administrator/</guid>
<description><![CDATA[This. Is. The. Most. Irritation. Error. Message. Ever. And. So. Is. This. Writing. Style. Seriously,]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://crystalunicorn.wordpress.com/files/2009/11/disable.jpg"><img class="alignnone size-full wp-image-988" title="Irritation" src="http://crystalunicorn.wordpress.com/files/2009/11/disable.jpg" alt="" width="558" height="423" /></a></p>
<p>This. Is. The. Most. Irritation. Error. Message. Ever. And. So. Is. This. Writing. Style.</p>
<p>Seriously, when I get this, I freak out. What does this mean? That I&#8217;m not in control of my <em>own</em> computer? Shouldn&#8217;t <em>I</em> be incharge? But viruses think otherwise. They prefer to disable the task manager <em>and </em>the registry. And they amuse themselves. No amount of antiviruses out there can get rid of this. At least, that&#8217;s been the case with me. A Windows reinstall is always a viable option, but not in my case. My Intel 82845G Graphics Controller is so outdated, that even <em>Intel</em> doesn&#8217;t consider it to be worthy of getting a decent driver. The latest driver carries this stupid trojan, which disables important stuff. Tech gurus like me always like to mess up the Windows anatomy, and set it back again. Even novice users three-finger-salute Windows <span style="text-decoration:line-through;">occasionally</span> always, and kill processes. What now?</p>
<p>As always, here at Shadow Line comes another tutorial without using any third-party application. To fix this stupid error.</p>
<p>1] Open <em>Notepad</em>, by going to <em>Start</em>&#8211;&#62;<em>Run&#8230;</em> and typing <em>Notepad</em>.</p>
<p>2] <strong>For enabling Task Manager</strong>, paste this:</p>
<blockquote><p>REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_DWORD /d 0 /f</p></blockquote>
<p>Or,<strong> for enabling Registry Editor,</strong> paste this:</p>
<blockquote><p>REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableRegistryTools /t REG_DWORD /d 0 /f</p></blockquote>
<p>3] Once you&#8217;ve pasted the required one, hit enter and open the Task Manager or Registry normally. Note that you&#8217;d have to do this always to open &#8216;em up</p>
<p>Lets take it a level further. Lets make a batch file, so that you can enable both with a single click from your desktop.</p>
<p>4] In <em>Notepad</em>, paste both the lines separated by a line.</p>
<blockquote><p>REG add HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System  /v DisableTaskMgr /t REG_DWORD /d 0 /f</p>
<p>REG add  HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System /v  DisableRegistryTools /t REG_DWORD /d 0 /f</p></blockquote>
<p><a href="http://crystalunicorn.wordpress.com/files/2009/11/notepad.jpg"><img class="alignnone size-full wp-image-991" title="notepad" src="http://crystalunicorn.wordpress.com/files/2009/11/notepad.jpg" alt="" width="600" height="73" /></a></p>
<p>5] After you&#8217;ve done that, go to File &#8211;&#62; Save. Save it as <em>fix.bat</em>. You can replace <em>fix</em> by anything. But the <em>.bat</em> thingy is important. Save it at the desktop. Its easily accessible now. Double-click it, and you should see a command-prompt window for a split second. Open Task Manager and Registry editor normally now. You have to repeat this again, if you want to access the registry once more.</p>
<p>But if you&#8217;re the busy types, and you want someone else to do the dirty work, I&#8217;ll help you. <a title="fixit.bat" href="http://www.mediafire.com/?yzmye2nzhmn" target="_blank">Download the batch file itself</a>.</p>
<p>So, thats it! Its fixed! But if you really want to stay away from all these viruses, I <a title="Ubuntu" href="http://www.ubuntu.com/" target="_blank">suggest</a> <a title="Linux Mint" href="http://www.linuxmint.com/" target="_blank">you</a> <a title="OpenSUSE" href="http://www.opensuse.org/en/" target="_blank">go</a> <a title="Sabayon" href="http://www.sabayonlinux.org/" target="_blank">elsewhere</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Deploying Windows 7 RSAT]]></title>
<link>http://trevorsullivan.wordpress.com/2009/11/19/deploying-windows-7-rsat/</link>
<pubDate>Thu, 19 Nov 2009 21:10:05 +0000</pubDate>
<dc:creator>Trevor Sullivan</dc:creator>
<guid>http://trevorsullivan.wordpress.com/2009/11/19/deploying-windows-7-rsat/</guid>
<description><![CDATA[If you&#8217;ve got a large number of Windows 7 machines that you&#8217;ve already deployed, but now]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>If you&#8217;ve got a large number of Windows 7 machines that you&#8217;ve already deployed, but now need to silently deploy the Remote Server Administration Tools (RSAT), you&#8217;re in luck. It&#8217;s quite simple to do, and Microsoft provides the necessary tools to automate this deployment.</p>
<p>The RSAT pack is downloaded as a MSU file, so it is more or less treated like other Windows Updates. Normally, you can just double-click an MSU file to install it, but to automate working with MSU Windows Update files, on Vista and later, we use the <em>wusa.exe</em> utility. Once the RSAT is installed, it must be enabled manually by the end user, in the &#8220;<em>Programs and Features</em>&#8221; Control Panel applet. To automate working with Windows Features, we use the <em>dism.exe</em> (Deployment Image Servicing and Management Tool) utility.</p>
<p>Download the <a href="http://www.microsoft.com/downloads/details.aspx?familyid=7D2F6AD7-656B-4313-A005-4E344E43997D&#38;displaylang=en#filelist">RSAT 64-bit or 32-bit file</a>, to a folder on your computer. Create a batch file called <em>InstallRsat64.cmd</em>in the same folder, and open it with your <a href="http://sourceforge.net/projects/notepad-plus/files/">favorite text editor</a>, and place the following in its contents:</p>
<blockquote>
<pre>wusa "%~dp0amd64fre_GRMRSATX_MSU.msu" /quiet /norestart /log:"%WINDIR%\Logs\RSAT Install (64-bit).log"
dism /Online /Enable-Feature /FeatureName:RemoteServerAdministrationTools /FeatureName:RemoteServerAdministrationTools-ServerManager /FeatureName:RemoteServerAdministrationTools-Roles /FeatureName:RemoteServerAdministrationTools-Roles-CertificateServices /FeatureName:RemoteServerAdministrationTools-Roles-CertificateServices-CA /FeatureName:RemoteServerAdministrationTools-Roles-CertificateServices-OnlineResponder /FeatureName:RemoteServerAdministrationTools-Roles-AD /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS-AdministrativeCenter /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS-NIS /FeatureName:RemoteServerAdministrationTools-Roles-AD-LDS /FeatureName:RemoteServerAdministrationTools-Roles-AD-Powershell /FeatureName:RemoteServerAdministrationTools-Roles-DHCP /FeatureName:RemoteServerAdministrationTools-Roles-DNS /FeatureName:RemoteServerAdministrationTools-Roles-FileServices /FeatureName:RemoteServerAdministrationTools-Roles-FileServices-Dfs /FeatureName:RemoteServerAdministrationTools-Roles-FileServices-Fsrm /FeatureName:RemoteServerAdministrationTools-Roles-FileServices-StorageMgmt /FeatureName:RemoteServerAdministrationTools-Roles-HyperV /FeatureName:RemoteServerAdministrationTools-Roles-RDS /FeatureName:RemoteServerAdministrationTools-Features /FeatureName:RemoteServerAdministrationTools-Features-BitLocker /FeatureName:RemoteServerAdministrationTools-Features-Clustering /FeatureName:RemoteServerAdministrationTools-Features-GP /FeatureName:RemoteServerAdministrationTools-Features-LoadBalancing /FeatureName:RemoteServerAdministrationTools-Features-SmtpServer /FeatureName:RemoteServerAdministrationTools-Features-StorageExplorer /FeatureName:RemoteServerAdministrationTools-Features-StorageManager /FeatureName:RemoteServerAdministrationTools-Features-Wsrm</pre>
</blockquote>
<p>This should install all of the available RSAT components for 64-bit Windows. The code below should install the 32-bit version (just call the batch file <em>InstallRsat32.cmd</em>).</p>
<blockquote>
<pre>wusa "%~dp0x86fre_GRMRSAT_MSU.msu" /quiet /norestart /log:"%WINDIR%\Logs\RSAT Install (32-bit).log"
dism /Online /Enable-Feature /FeatureName:RemoteServerAdministrationTools /FeatureName:RemoteServerAdministrationTools-ServerManager /FeatureName:RemoteServerAdministrationTools-Roles /FeatureName:RemoteServerAdministrationTools-Roles-CertificateServices /FeatureName:RemoteServerAdministrationTools-Roles-CertificateServices-CA /FeatureName:RemoteServerAdministrationTools-Roles-CertificateServices-OnlineResponder /FeatureName:RemoteServerAdministrationTools-Roles-AD /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS-AdministrativeCenter /FeatureName:RemoteServerAdministrationTools-Roles-AD-DS-NIS /FeatureName:RemoteServerAdministrationTools-Roles-AD-LDS /FeatureName:RemoteServerAdministrationTools-Roles-AD-Powershell /FeatureName:RemoteServerAdministrationTools-Roles-DHCP /FeatureName:RemoteServerAdministrationTools-Roles-DNS /FeatureName:RemoteServerAdministrationTools-Roles-FileServices /FeatureName:RemoteServerAdministrationTools-Roles-FileServices-Dfs /FeatureName:RemoteServerAdministrationTools-Roles-FileServices-Fsrm /FeatureName:RemoteServerAdministrationTools-Roles-FileServices-StorageMgmt /FeatureName:RemoteServerAdministrationTools-Roles-HyperV /FeatureName:RemoteServerAdministrationTools-Roles-RDS /FeatureName:RemoteServerAdministrationTools-Features /FeatureName:RemoteServerAdministrationTools-Features-BitLocker /FeatureName:RemoteServerAdministrationTools-Features-Clustering /FeatureName:RemoteServerAdministrationTools-Features-GP /FeatureName:RemoteServerAdministrationTools-Features-LoadBalancing /FeatureName:RemoteServerAdministrationTools-Features-SmtpServer /FeatureName:RemoteServerAdministrationTools-Features-StorageExplorer /FeatureName:RemoteServerAdministrationTools-Features-StorageManager /FeatureName:RemoteServerAdministrationTools-Features-Wsrm</pre>
</blockquote>
<p>I do realize that the line extends way off to the right, but just copy the whole thing, and you will get the entire command-line. If you have any issues with <em>dism.exe</em>, check out the log file located in <em>%WINDIR%\Logs\Dism\dism.log</em>.</p>
<p>Please leave any questions in the comments section below! Thanks for reading!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[FastStone Image Viewer 4.0]]></title>
<link>http://dinucody.wordpress.com/2009/11/19/faststone-image-viewer-4-0/</link>
<pubDate>Thu, 19 Nov 2009 20:01:42 +0000</pubDate>
<dc:creator>Alin</dc:creator>
<guid>http://dinucody.wordpress.com/2009/11/19/faststone-image-viewer-4-0/</guid>
<description><![CDATA[&#160;&#160; În sfârşit o nouă versiune de FastStone Image Viewer &#8211; una care asigură în sfârşi]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p align="justify">&#160;&#160; În sfârşit o nouă versiune de <strong>FastStone Image Viewer</strong> &#8211; una care asigură în sfârşit transparenţa temei şi o mai bună integrare în Windows 7 . În rest schimbările sunt următoarele: </p>
<p align="justify">* Enhanced the skins and toolbar icons. Now the windows have drop shadow effect in Vista and Windows 7   <br />* Added &#34;Search and Replace&#34; to Batch Rename    <br />* Added &#34;Renaming Preview&#34; to Batch Rename    <br />* Enhanced &#34;Conversion Preview&#34; in Batch Convert. Now it is possible to compare the original and converted images side by side    <br />* In Advanced Options for Batch Convert, added an option to specify whether color adjustments (brightness, contrast, sharpening etc.) should be made before or after resizing.    <br />* Shows GPS information in the &#34;Image Properties&#34; window. A &#34;Show in Google Earth&#34; button will be available if the image has GPS information    <br />* Added &#34;Border Effects&#34; under Edit menu    <br />* Added an option to remove EXIF/IPTC data when emailing images    <br />* Added shortcuts for favorite folders    <br />* Improved performance on network folders    <br />* Improved compatibility with Windows 7    <br />* Fixed bugs    <br />* Other minor improvements .</p>
<p align="justify"><a href="http://dinucody.files.wordpress.com/2009/11/faststone4.jpg"><img style="border-bottom:0;border-left:0;display:block;float:none;margin-left:auto;border-top:0;margin-right:auto;border-right:0;" title="faststone4" border="0" alt="faststone4" src="http://dinucody.files.wordpress.com/2009/11/faststone4_thumb.jpg?w=659&#038;h=500" width="659" height="500" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Batch file to create archives]]></title>
<link>http://rmavery.wordpress.com/2009/11/18/batch-file-to-create-archives/</link>
<pubDate>Wed, 18 Nov 2009 21:37:37 +0000</pubDate>
<dc:creator>rmavery</dc:creator>
<guid>http://rmavery.wordpress.com/2009/11/18/batch-file-to-create-archives/</guid>
<description><![CDATA[Recently I was asked to add content to a batch file that would back up 7 copies of a file.  No more ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Recently I was asked to add content to a batch file that would back up 7 copies of a file.  No more than 7 copies were needed, but they must be incremented.  For instance copy 7 should always be the oldest, and copy 1 the newest.     I thought I could easily do this in vbs, but I couldn&#8217;t quite get my head around how to do it in DOS batch.    Well, I was persistent, and figured it out.  </p>
<pre>@Echo Off
if "%1"=="" GOTO :SHOWERR
set arcdir=.\Archive\
if not exist %arcdir% md %arcdir%
Set stFN=%1
set stThisFile=%arcdir%%stFN%.0
if exist %stFN%.07 Del %stFN%.07
setlocal ENABLEDELAYEDEXPANSION
for /L %%a in (6,-1,1) Do (
set /A anum=%%a+1
if exist "%stThisFile%%%a" move "%stThisfile%%%a" "%stThisFile%!anum!"
)
copy %stFN% %arcdir%\%stFN%.01
GOTO :EOF
:SHOWERR
ECHO.
ECHO No base file was submitted..
ECHO.
ECHO Syntax:
ECHO.
ECHO %0 File2Archive.TXT
PAUSE
:EOF</pre>
<p>I created a batch file (I called it archive.bat) and put it in the same directory.  Now I simply call the batch file with the name of the file to archive as a parameter.   Seems to work pretty good.   The same code can be put into the batch, but I was trying to make it scalable. </p>
<p>&#160;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Programa básico en Batch]]></title>
<link>http://drocco.wordpress.com/2009/11/18/programa-basico-en-bash/</link>
<pubDate>Wed, 18 Nov 2009 20:32:18 +0000</pubDate>
<dc:creator>Rocco</dc:creator>
<guid>http://drocco.wordpress.com/2009/11/18/programa-basico-en-bash/</guid>
<description><![CDATA[Programa básico, el típico hola mundo, pero programado en Batch Windows Primero crea un archivo txt ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Programa básico, el típico hola mundo, pero programado en Batch Windows</p>
<p>Primero crea un archivo txt en tu escritorio, lo editas y agregas el siguiente código, el cual solo mostrará por pantalla el mensaje &#8220;Hola mundo&#8221;:</p>
<p><code>@echo off<br />
rem mi primer programa<br />
title programa 1<br />
echo hola mundo<br />
pause<br />
exit /b</code></p>
<p>Descripción por número de lineas:</p>
<p>1. Estando en off el echo nos dice que no se muestre la dirección de ubicación del archivo</p>
<p>2. rem: para escribir comentarios</p>
<p>3. title: nombre el que se le asignará a la ventana de la consola</p>
<p>4. echo: muestra por pantalla el mensaje</p>
<p>5. pause: nos permitirá detener el programa para poder visualizar el mensaje</p>
<p>6. Fin del programa si presionas una tecla</p>
<p>Después de haber insertado el código en el txt, guardamos el archivo como .bat</p>
<p>para ejecutarlo basta con hacer clic en el mismo archivo por lotes ejecutable que se generó.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[AUTOCAD FREE DOWNLOAD]]></title>
<link>http://autocad2010electrical.wordpress.com/2009/11/17/autocad-free-download/</link>
<pubDate>Tue, 17 Nov 2009 10:43:12 +0000</pubDate>
<dc:creator>Autocad 2010 Electrical</dc:creator>
<guid>http://autocad2010electrical.wordpress.com/2009/11/17/autocad-free-download/</guid>
<description><![CDATA[novaPDF Professional 6.4 Build 311 Free Download from Rapidshare &#8230;&#8230; interface helps you ]]></description>
<content:encoded><![CDATA[novaPDF Professional 6.4 Build 311 Free Download from Rapidshare &#8230;&#8230; interface helps you ]]></content:encoded>
</item>
<item>
<title><![CDATA[AutoCad 2004]]></title>
<link>http://autocad2010electrical.wordpress.com/2009/11/17/autocad-2004/</link>
<pubDate>Tue, 17 Nov 2009 09:51:06 +0000</pubDate>
<dc:creator>Autocad 2010 Electrical</dc:creator>
<guid>http://autocad2010electrical.wordpress.com/2009/11/17/autocad-2004/</guid>
<description><![CDATA[LT Unlimited: &amp;quot;Save As&amp;quot; File FormatsAutoCAD 2006 AutoCAD 2005 AutoCAD 2004. AutoCA]]></description>
<content:encoded><![CDATA[LT Unlimited: &amp;quot;Save As&amp;quot; File FormatsAutoCAD 2006 AutoCAD 2005 AutoCAD 2004. AutoCA]]></content:encoded>
</item>
<item>
<title><![CDATA[取得Batch file所在目錄路徑]]></title>
<link>http://yjy198410.wordpress.com/2009/11/17/%e5%8f%96%e5%be%97batch-file%e6%89%80%e5%9c%a8%e7%9b%ae%e9%8c%84%e8%b7%af%e5%be%91/</link>
<pubDate>Tue, 17 Nov 2009 06:58:45 +0000</pubDate>
<dc:creator>yjy198410</dc:creator>
<guid>http://yjy198410.wordpress.com/2009/11/17/%e5%8f%96%e5%be%97batch-file%e6%89%80%e5%9c%a8%e7%9b%ae%e9%8c%84%e8%b7%af%e5%be%91/</guid>
<description><![CDATA[問題 &#160;&#160; 在batch file中可以使用.來取的當下工作目錄位置，執行相關工作，但前提必須是要先些換工作目錄到batch file所在目錄位置。 如果使用call來呼叫batc]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>問題</p>
<p>&#160;&#160; 在batch file中可以使用.來取的當下工作目錄位置，執行相關工作，但前提必須是要先些換工作目錄到batch file所在目錄位置。 如果使用call來呼叫batch file時，必須先在所在路徑切換到batch file盪案路徑目錄，結束後call後再切換到其他目錄繼續工作，當被call的batch file搬移時必須修改大量的呼叫目錄。</p>
<p>解決辦法</p>
<p>在batch file內使用 %~dp0%取得檔案所在目錄</p>
<p>範例</p>
<p>@echo off&#160; <br />rem ##get 本檔案所在目錄路徑     <br />echo %~dp0%     <br />pause</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Generar ficheros con nombre de fecha y hora actuales en DOS]]></title>
<link>http://histeriasdelacripta.wordpress.com/2009/11/13/generar-ficheros-con-nombre-de-fecha-y-hora-actuales-en-dos/</link>
<pubDate>Fri, 13 Nov 2009 15:35:36 +0000</pubDate>
<dc:creator>Fett, Boba Fett</dc:creator>
<guid>http://histeriasdelacripta.wordpress.com/2009/11/13/generar-ficheros-con-nombre-de-fecha-y-hora-actuales-en-dos/</guid>
<description><![CDATA[Nuestro querido y viejo amigo, el proceso por lotes del DOS, sigue bien vivito y coleando en el ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Nuestro querido y viejo amigo, el proceso por lotes del DOS, sigue bien vivito y coleando en el &#8220;CMD&#8221; de los servidores windows, también, por mucho que se empeñen en meternos el VBS por los ojos.</p>
<p>Todos nos acordamos de los ficheros BAT y su limitado potencial. Las variable sde entorno, etc. Si abrís un CMD y tecleáis &#8220;SET&#8221;, os saldrán todas las variables de entorno que hay en memoria. Interesante ver cosas precocinadas como el nombre de la máquina, dominio o username actual.</p>
<p>No vamos a ponernos a explicar ahora qué son lso ficheros BAT, ni lo que se puede hacer con ellos, sino a poenr a vuestra disposición algo que mi desconexión de este mundillo concreto me ha hecho enterarme esta misma mañana: que se pueden hacer substrings de cadenas en DOS.</p>
<p>Pensar cómo lo hubiera tenido qeu hacer en Linux con grep y demás histerias, se me antoja harto complicado comparado con esta ultrasencilla sintaxis. No digo que no existea tampoco en el BASH de Linux, eh?? <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ol>
<li><strong>Antecedentes:</strong><br />
Se pretendía crear un BATCH (un fichero BAT de los de toda la vida) que hiciera una taea y guardara el log en un fichero con nombre YYYYMMDD_HHMMSS_tarea.log. En CMD, existen por defecto variables de entorno que muestran fecha y hora (DATE y TIME), en el mismo formato qeu los comandos &#8220;DATE /T&#8221; (13/11/2009) y &#8220;TIME /T&#8221; (12:34:19.45). El problema viene cuando queremos usar esas variables para generar el nombre del fichero, ya que los caracteres &#8220;/&#8221; y &#8220;:&#8221; no se pueden usar para nombres de fichero. Así que o sustituimos esos caracteres por otros o compoenmos el nombre mediante subcadenas de los valores de fecha y hora. Lo primero no lo he localziado en el reducido potencial del CMD, pero sí en lo segundo.</li>
<li><strong>Búsqueda en Google:</strong><br />
Para encontrar lo buscado, se realizó una búsqueda en Google:  <em>cmd filename date</em><br />
Evaluando los títulos, se disparó hacia el quinto resultado y bingo! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  He de decir que en dicho resultado hay posts incorrectos del todo, pero enseguida reconoces el que realmente sabe de lo que habla, que es quien proporcionó la solución.</li>
<li><strong>Sintaxis:</strong>
<pre>ECHO %DATE:~X,Y%</pre>
<p>Devuelve un substring de Y caracteres desde la posición X (la cadena comienza en la posición 0).</p>
<pre>ECHO %DATE%</pre>
<p>13/11/2009</p>
<pre>ECHO %DATE:~0,2%</pre>
<p>13</li>
<li><strong>Código final:</strong>
<pre>SET FECHAGENERADA=%DATE:~6,4%%DATE:~3,2%%DATE:~0,2%_%TIME:~0,2%%TIME:~3,2%%TIME:~6,2%
REM SET FECHAGENERADA=%DATE:~6,4%%DATE:~3,2%%DATE:~0,2%
SET LOGFILE="F:\backup\logs\%FECHAGENERADA%-backup.log"</pre>
</li>
</ol>
<p><strong>Fuentes:</strong></p>
<ul>
<li><strong>DOS: create filename based on date?:</strong><br />
http://en.kioskea.net/forum/affich-130043-dos-create-filename-based-on-date</li>
<li><strong>MS-DOS tips for time and date stamps — TalkBMC:</strong><br />
http://talk.bmc.com/blogs/blog-gentle/anne-gentle/dos-timestamp-tips/</li>
<li><strong>Tutorial variables de entorno en MS-DOS:</strong><br />
http://www.palomatica.info/juckar/microsoft/msdos/entorno/variables_de_entorno.html</li>
<li><strong>Tutorial MS-DOS:</strong><br />
http://www.palomatica.info/juckar/microsoft/msdos/</li>
<li><strong>Todos los tutoriales de Palomatica:</strong><br />
http://www.palomatica.info/juckar/</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How many mental ray licenses are included with Advanced?]]></title>
<link>http://xsisupport.wordpress.com/2009/11/13/how-many-mental-ray-licenses-are-included-with-advanced/</link>
<pubDate>Fri, 13 Nov 2009 14:11:37 +0000</pubDate>
<dc:creator>xsisupport</dc:creator>
<guid>http://xsisupport.wordpress.com/2009/11/13/how-many-mental-ray-licenses-are-included-with-advanced/</guid>
<description><![CDATA[None. I get asked this kind of questions all the time. Advanced includes 5 Batch licenses, not menta]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>None.</p>
<p>I get asked this kind of questions all the time. Advanced includes 5 Batch licenses, not mental ray licenses.</p>
<p>mental ray licenses are for running ray3 and rendering .mi files.</p>
<p>Batch licenses are for running xsibatch.exe and rendering .scn files, with either mental ray or a third-party renderer such as 3Delight.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Frank Merle attempts to hatch a full-length horror film :: Entertainment :: PIONEER PRESS :: Park Ridge Herald-Advocate]]></title>
<link>http://badbatch.wordpress.com/2009/11/08/frank-merle-attempts-to-hatch-a-full-length-horror-film-entertainment-pioneer-press-park-ridge-herald-advocate/</link>
<pubDate>Mon, 09 Nov 2009 01:49:45 +0000</pubDate>
<dc:creator>badbatch</dc:creator>
<guid>http://badbatch.wordpress.com/2009/11/08/frank-merle-attempts-to-hatch-a-full-length-horror-film-entertainment-pioneer-press-park-ridge-herald-advocate/</guid>
<description><![CDATA[Frank Merle attempts to hatch a full-length horror film :: Entertainment :: PIONEER PRESS :: Park Ri]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.pioneerlocal.com/parkridge/entertainment/1860145,entertainment-cook-frankmerle-110509-s1.article">Frank Merle attempts to hatch a full-length horror film :: Entertainment :: PIONEER PRESS :: Park Ridge Herald-Advocate</a>.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[BatchRun portable]]></title>
<link>http://dotinfo.wordpress.com/2009/11/08/batchrun-portable/</link>
<pubDate>Sun, 08 Nov 2009 15:42:01 +0000</pubDate>
<dc:creator>Everton da Rosa</dc:creator>
<guid>http://dotinfo.wordpress.com/2009/11/08/batchrun-portable/</guid>
<description><![CDATA[Execute uma série de comandos ou aplicativos com poucos cliques a partir de scripts criados nesta fe]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h3>Execute uma série de comandos ou aplicativos com poucos cliques a partir de scripts criados nesta ferramenta visual</h3>
<p>461,82KB</p>
<h2>Freeware</h2>
<p>Grátis</p>
<p><strong><a href="http://download.outertech.com/files/file60/btrunp420.zip">BatchRun</a></strong> é um aplicativo gratuito para geração de <em>scripts</em> em um ambiente de fácil aprendizado e utilização. Com ele é possível criar um <a href="http://superdownloads.uol.com.br/download/33/batchrun-portable/">arquivo</a> que abra ao mesmo tempo diversos aplicativos e comandos com opções de <a href="http://superdownloads.uol.com.br/download/33/batchrun-portable/">controle</a> de prioridade, ordem de execução e mais.</p>
<p>Entre os comandos disponíveis no <strong><a href="http://download.outertech.com/files/file60/btrunp420.zip">BatchRun</a></strong> estão os de  <a href="http://superdownloads.uol.com.br/download/33/batchrun-portable/">copiar</a>, colar, interromper um processo, encerrar um processo, criar diretório, renomear, apagar, etc. Uma opção é permite que, com um clique, o computador se conecte à Internet, e abra em seguida o <a title="Download Windows Live Messenger" href="http://superdownloads.uol.com.br/download/149/windows-live-messenger/" target="_self">Windows Live Messenger</a>, <a title="Download Mozilla Firefox 3.5.4" href="http://superdownloads.uol.com.br/download/154/mozilla-firefox-alpha/" target="_self">Mozilla Firefox 3.5.4</a> com a página do <a title="Download Orkut" href="http://superdownloads.uol.com.br/download/45/orkut/" target="_self">Orkut</a> aberta, o gerenciador de downloads e o que mais você quiser.</p>
<p>Roda em Windows 98, 2000, Millenium, XP, Vista, 7</p>
<p>Disponível no idioma Inglês</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Inuboshi]]></title>
<link>http://emotaku96.wordpress.com/2009/11/08/inuboshi/</link>
<pubDate>Sun, 08 Nov 2009 08:32:30 +0000</pubDate>
<dc:creator>motaku96</dc:creator>
<guid>http://emotaku96.wordpress.com/2009/11/08/inuboshi/</guid>
<description><![CDATA[I just decided to share every inuboshi doujin I have. It&#8217;s not everything that&#8217;s been tr]]></description>
<content:encoded><![CDATA[I just decided to share every inuboshi doujin I have. It&#8217;s not everything that&#8217;s been tr]]></content:encoded>
</item>
<item>
<title><![CDATA[Movie Thumbnailer Script]]></title>
<link>http://kde4lqh.wordpress.com/2009/11/07/movie-thumbnailer-script/</link>
<pubDate>Sat, 07 Nov 2009 13:03:59 +0000</pubDate>
<dc:creator>DjNeophyte</dc:creator>
<guid>http://kde4lqh.wordpress.com/2009/11/07/movie-thumbnailer-script/</guid>
<description><![CDATA[Questo script bash server per creare screenshot da video e/o film vari,è similare a ImageGrabber per]]></description>
<content:encoded><![CDATA[Questo script bash server per creare screenshot da video e/o film vari,è similare a ImageGrabber per]]></content:encoded>
</item>
<item>
<title><![CDATA[h264enc - The interactive shell script ripper]]></title>
<link>http://kde4lqh.wordpress.com/2009/11/07/h264enc-the-interactive-shell-script-ripper/</link>
<pubDate>Sat, 07 Nov 2009 11:58:27 +0000</pubDate>
<dc:creator>DjNeophyte</dc:creator>
<guid>http://kde4lqh.wordpress.com/2009/11/07/h264enc-the-interactive-shell-script-ripper/</guid>
<description><![CDATA[h264enc è un avanzato e potente menù interattivo basato su scripts e progettato per sistemi operativ]]></description>
<content:encoded><![CDATA[h264enc è un avanzato e potente menù interattivo basato su scripts e progettato per sistemi operativ]]></content:encoded>
</item>
<item>
<title><![CDATA[Useful Photoshop Actions For Photo Enhancements ]]></title>
<link>http://preetha21.wordpress.com/2009/11/06/useful-photoshop-actions-for-photo-enhancements/</link>
<pubDate>Fri, 06 Nov 2009 10:57:41 +0000</pubDate>
<dc:creator>preetha21</dc:creator>
<guid>http://preetha21.wordpress.com/2009/11/06/useful-photoshop-actions-for-photo-enhancements/</guid>
<description><![CDATA[Each Photoshop action stores a sequential series of tasks/jobs, and by hitting the ‘play’ button you]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Each Photoshop action stores a sequential series of tasks/jobs, and by hitting the <em>‘play’</em> button you get the same effect again and again without the need to repeat steps individually. Photoshop actions are powerful and great time saver when it comes to batch photo processing.</p>
<p>Adobe Photoshop comes with a default set of actions pre-installed that could give you a pretty good idea how thing works.</p>
<h3>Color Balance, Hue/Saturation</h3>
<p><strong><a href="http://saturn-rings.deviantart.com/art/Photoshop-Action-2-91237839">Photoshop Action 2</a></strong><br />
by saturn-rings</p>
<p><a href="http://saturn-rings.deviantart.com/art/Photoshop-Action-2-91237839"><img src="http://hongki.at/images/ps-actions-portraits/saturn-rings.jpg" alt="" width="355" height="263" /></a></p>
<p>&#160;</p>
<p><strong><a href="http://mutato-nomine.deviantart.com/art/Cross-Processing-ATN-37361895">Cross-Processing ATN</a></strong><br />
by mutato-nomine</p>
<p><a href="http://mutato-nomine.deviantart.com/art/Cross-Processing-ATN-37361895"><img src="http://hongki.at/images/ps-actions-portraits/Cross-Processing-ATN.jpg" alt="" width="355" height="263" /></a></p>
<p>&#160;</p>
<p><strong><a href="http://muffim-clyck.deviantart.com/art/Actions-Clyck-003-107988289">Actions Clyck</a></strong><br />
by muffim-clyck</p>
<p><a href="http://muffim-clyck.deviantart.com/art/Actions-Clyck-003-107988289"><img src="http://hongki.at/images/ps-actions-portraits/muffim-clyck.jpg" alt="" width="355" height="263" /></a></p>
<p>&#160;</p>
<p><strong><a href="http://princess-of-shadows.deviantart.com/art/color-enhancing-actions-78300404">Color Enhancing Actions</a></strong><br />
by Princess-of-Shadows</p>
<p><a href="http://princess-of-shadows.deviantart.com/art/color-enhancing-actions-78300404"><img src="http://hongki.at/images/ps-actions-portraits/Princess-of-Shadows.jpg" alt="" width="355" height="263" /></a></p>
<p>&#160;</p>
<p><strong><a href="http://numizmat.deviantart.com/art/Cool-photo-effect-action-72848577">Cool photo effect action</a></strong><br />
by Numizmat</p>
<p><a href="http://numizmat.deviantart.com/art/Cool-photo-effect-action-72848577"><img src="http://hongki.at/images/ps-actions-portraits/Numizmat.jpg" alt="" width="355" height="263" /></a></p>
<p>&#160;</p>
<p><strong><a href="http://mermes.deviantart.com/art/Enhancing-skin-color-43985917">Enhancing skin color</a></strong><br />
by mermes</p>
<p><a href="http://mermes.deviantart.com/art/Enhancing-skin-color-43985917"><img src="http://hongki.at/images/ps-actions-portraits/mermes.jpg" alt="" width="355" height="263" /></a></p>
<p>&#160;</p>
<p><a href="http://www.hongkiat.com/blog/60-useful-photoshop-actions-for-photo-enhancements/" target="_blank">See More&#8230;..</a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Безплатна програма от Adobe преименува и променя размера на голям брой изоображения]]></title>
<link>http://bulged.wordpress.com/2009/11/05/%d0%b1%d0%b5%d0%b7%d0%bf%d0%bb%d0%b0%d1%82%d0%bd%d0%b0-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%b0-%d0%be%d1%82-adobe-%d0%bf%d1%80%d0%b5%d0%b8%d0%bc%d0%b5%d0%bd%d1%83%d0%b2%d0%b0-%d0%b8-%d0%bf/</link>
<pubDate>Thu, 05 Nov 2009 04:00:30 +0000</pubDate>
<dc:creator>bulged</dc:creator>
<guid>http://bulged.wordpress.com/2009/11/05/%d0%b1%d0%b5%d0%b7%d0%bf%d0%bb%d0%b0%d1%82%d0%bd%d0%b0-%d0%bf%d1%80%d0%be%d0%b3%d1%80%d0%b0%d0%bc%d0%b0-%d0%be%d1%82-adobe-%d0%bf%d1%80%d0%b5%d0%b8%d0%bc%d0%b5%d0%bd%d1%83%d0%b2%d0%b0-%d0%b8-%d0%bf/</guid>
<description><![CDATA[С Caldera можете да променяте размера, да преименувате и да променяте подредбата на изображенията си]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://www.adobe.com/cfusion/marketplace/index.cfm?event=marketplace.offering&#38;offeringid=16104&#38;marketplaceid=1"><img class="alignright size-medium wp-image-1530" title="caldera" src="http://bulged.wordpress.com/files/2009/11/caldera.png?w=286" alt="caldera" width="286" height="300" /></a>С <a href="http://www.adobe.com/cfusion/marketplace/index.cfm?event=marketplace.offering&#38;offeringid=16104&#38;marketplaceid=1" target="_blank">Caldera</a> можете да променяте размера, да преименувате и да променяте подредбата на изображенията си на партиди.</p>
<p>Просто завлечете изображенията си в програмата и тя започва да работи. <a href="http://www.adobe.com/cfusion/marketplace/index.cfm?event=marketplace.offering&#38;offeringid=16104&#38;marketplaceid=1" target="_blank">Caldera</a> ви позволява да промените размера на изображенията пропорционално или като посочите максимална ширина или височина, в които искате да ги съберете. Можете и да промените автоматично имената на файловете с изображения (с представка и номер) и да изберете нова папка, в която да ги запазите. Можете да ги съхраните като JPG, PNG или GIF. Възможно е и да смените имената на файловете, без да променяте размера им.</p>
<p>Софтуерът е наличен за <a href="http://www.adobe.com/cfusion/marketplace/index.cfm?event=marketplace.offering&#38;offeringid=16104&#38;marketplaceid=1" target="_blank">безплатно сваляне от тук</a> и работи под Linux, Mac и Windows.</p>
<p>С пожелание за повече автоматизация,</p>
<p>Мартин</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[The bastard love child of BAT and WSH]]></title>
<link>http://windowssucks.wordpress.com/2009/11/04/the-bastard-love-child-of-bat-and-wsh/</link>
<pubDate>Wed, 04 Nov 2009 19:11:06 +0000</pubDate>
<dc:creator>windowssucks</dc:creator>
<guid>http://windowssucks.wordpress.com/2009/11/04/the-bastard-love-child-of-bat-and-wsh/</guid>
<description><![CDATA[The (default) PATHEXT environment variable contains .vbs/.js/.wsf but wscript.exe is usually set as ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>The (default) PATHEXT environment variable contains .vbs/.js/.wsf but wscript.exe is usually set as the default windows scripting engine host, so running scripts in a terminal is a big pain. What if we could put the WSH script inside a batch file so we don&#8217;t have to prefix every call with cscript //nologo ?<br />
<!--more--></p>
<p><code>@if (1==1) @if(1==0) @ELSE<br />
@echo off&#38;SETLOCAL ENABLEEXTENSIONS<br />
cscript //E:JScript //nologo "%~f0" %*<br />
@goto :EOF<br />
@end @ELSE<br />
WScript.Echo("hello from WSH");<br />
@end<br />
</code></p>
<p>If there ever was a huge scripting hack, this is it. Somehow it is both &#8220;valid&#8221; BAT and JScript syntax! The @if syntax requires MS:JScript v3 (IE4+), on the batch side of things, %~f0 and %* requires at least NT4, maybe NT5.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Doodle Batch (1)]]></title>
<link>http://kevinsim.wordpress.com/2009/11/03/doodle-batch-1/</link>
<pubDate>Tue, 03 Nov 2009 18:58:19 +0000</pubDate>
<dc:creator>Ketski</dc:creator>
<guid>http://kevinsim.wordpress.com/2009/11/03/doodle-batch-1/</guid>
<description><![CDATA[Going down a path of nothing but black. To a vortex where all is gone. Where not even time can stop ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:center;">
<div class="wp-caption aligncenter" style="width: 440px"><a href="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020200.jpg"><img class="  " title="Inked Reversal" src="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020200.jpg" alt="" width="430" height="242" /></a><p class="wp-caption-text">Going down a path of nothing but black.</p></div>
<div class="wp-caption aligncenter" style="width: 440px"><a href="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020202.jpg"><img class="  " title="Vortex" src="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020202.jpg" alt="" width="430" height="242" /></a><p class="wp-caption-text">To a vortex where all is gone.</p></div>
<p><a href="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020204.jpg"></a></p>
<div class="wp-caption aligncenter" style="width: 354px"><a href="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020204.jpg"><img title="Time" src="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020204.jpg" alt="Where time can't stop us." width="344" height="335" /></a><p class="wp-caption-text">Where not even time can stop us...</p></div>
<p style="text-align:center;">
<div class="wp-caption aligncenter" style="width: 440px"><a href="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020210.jpg"><img class="  " title="Freedom" src="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020210.jpg" alt="" width="430" height="402" /></a><p class="wp-caption-text">It will be our freedom.</p></div>
<div class="wp-caption aligncenter" style="width: 311px"><a href="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020208.jpg"><img class="   " title="Monster" src="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020208.jpg" alt="" width="301" height="298" /></a><p class="wp-caption-text">But it can only last for so long...</p></div>
<div class="wp-caption aligncenter" style="width: 440px"><a href="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020206.jpg"><img class="  " title="Beginnings" src="http://i599.photobucket.com/albums/tt74/ketski2/Drawings/P1020206.jpg" alt="" width="430" height="242" /></a><p class="wp-caption-text">Before we all have to go back to the beginning.</p></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Hiding Batch File Console Windows]]></title>
<link>http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/</link>
<pubDate>Tue, 03 Nov 2009 04:42:21 +0000</pubDate>
<dc:creator>Jim Lawless</dc:creator>
<guid>http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/</guid>
<description><![CDATA[( Please note:The good netizens of the alt.comp.msdos.batch.nt Usenet newsgroup pointed out a few th]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>( <strong>Please note:</strong><em><font color="blue">The good netizens of the alt.comp.msdos.batch.nt Usenet newsgroup pointed out a few things relating to this post.</p>
<p>A new API function is available for Windows 2000 and up called GetConsoleWindow() that alleviates some of the caption-changing operations that I perform in the code below.</p>
<p>There are other utilities which can perform the &#8220;hide&#8221; operation in addition to many other helpful windows operations.  One such utility is &#8220;cmdow&#8221; available here: <a href="http://commandline.co.uk/cmdow/">http://commandline.co.uk/cmdow/</a></font></em> )</p>
<p>I used to sell a command-line utility for Windows called RUN-and-HIDE that would launch a batch file in a hidden window.  While a number of other scripts became available to do the same thing, I noted that I hadn&#8217;t seen any that would hide the window of an already-running console process from within that process&#8217;s executing batch file script.</p>
<p>I performed a cursory search this evening to see if a utility was to be found that could hide a running console process.  Not only was I not able to find one, but many posts state firmly that unless you launch the console process, one absolutely can not hide it.</p>
<p>&#8230;so, let me show you how&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Most windows are easy enough to hide via the Windows API <em>ShowWindow()</em> function.  You pass ShowWindow() a window-handle and a show-mode and the window may display differently.  One option for the mode argument allows the window to be hidden. ( We could just as easily minimize the window, maximize it, move it, &#8230;etc. if we have the window-handle ).</p>
<p>The trick to obtaining the console window-handle is to set the caption to a unique string, then call the Windows <em>FindWindow()</em> function.  We need a unique title because FindWindow() will yield the handle for the first window it finds that matches our criteria.</p>
<p>My code will call <em>getpid()</em> to obtain the current process ID for the running utilty and will use that value with a prefix of <strong>HIDECMD_</strong> in the running EXE.</p>
<p>Here is the code:</p>
<p><strong>hidecmd.c</strong></p>
<pre class="brush: cpp;">
// hidecmd.c
// Hide the current console window for a running batch
// script.
//
// License: MIT / X11
// Copyright (c) 2009 by James K. Lawless
// jimbo@radiks.net http://www.radiks.net/~jimbo
// http://www.mailsend-online.com
//
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of this software and associated documentation
// files (the &#34;Software&#34;), to deal in the Software without
// restriction, including without limitation the rights to use,
// copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following
// conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED &#34;AS IS&#34;, WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE.

#include &#60;windows.h&#62;
#include &#60;stdio.h&#62;
#include &#60;process.h&#62;
#pragma comment(lib,&#34;user32.lib&#34;)
int main(int argc,char **argv) {
   int pid;
   char wrk[40];
   char old[256];
   HWND h;
      // get the process ID to use as a unique
      // number
   pid=getpid();
   sprintf(wrk,&#34;HIDECMD_%d&#34;,pid);
      // preserve the old console window title
   GetConsoleTitle(old,sizeof(old));
      // replace it with a unique titles
   SetConsoleTitle(wrk);
      // give the system time to change the title
   Sleep(40);

      //.now, find the window handle by title
   h=FindWindow(NULL,wrk);
      // hide the window
   ShowWindow(h,SW_HIDE);
      // replace the old title
   SetConsoleTitle(old);
      // wait just a bit for the update again
   Sleep(40);
}
</pre>
<p>To use hidecmd, place a call to it early in your batch file.  You may see the window blink as it initially displays, then disappears.</p>
<p><strong>hidedemo.bat</strong></p>
<pre class="brush: ruby;">
hidecmd
dir %windir%
exit
</pre>
<p>I recommend use of the <em>exit</em> verb to ensure that the batch script terminates.</p>
<p>The source and EXE files for hidecmd can be found here.</p>
<p><a href="http://www.mailsend-online.com/wp/hidecmd.zip">http://www.mailsend-online.com/wp/hidecmd.zip</a></p>
<p><a href="http://del.icio.us/post?url=http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/&#38;title=Hiding+Batch+File+Console+Windows" target="_blank"><img title="del_icio_us" src="http://www.mailsend-online.com/wp/del_icio_us.png" alt="del_icio_us" /></a> <a href="http://del.icio.us/post?url=http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/&#38;title=Hiding+Batch+File+Console+Windows" target="_blank">Save to del.icio.us</a><br /><a href="http://digg.com/submit?phase=2&#38;url=http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/&#38;title=Hiding+Batch+File+Console+Windows" target="_blank"><img title="digg" src="http://www.mailsend-online.com/wp/digg.png" alt="digg" /></a> <a href="http://digg.com/submit?phase=2&#38;url=http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/&#38;title=Hiding+Batch+File+Console+Windows" target="_blank">Digg it</a><br /><a href="http://reddit.com/submit?url=http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/&#38;title=Hiding+Batch+File+Console+Windows" target="_blank"><img title="reddit" src="http://www.mailsend-online.com/wp/reddit.png" alt="reddit" /></a> <a href="http://reddit.com/submit?url=http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/&#38;title=Hiding+Batch+File+Console+Windows" target="_blank">Save to Reddit</a><br /><a href="http://www.facebook.com/share.php?u=http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/" target="_blank"><img title="facebook" src="http://www.mailsend-online.com/wp/facebook.png" alt="facebook" /></a> <a href="http://www.facebook.com/share.php?u=http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/" target="_blank">Share on Facebook</a><br /><a href="http://twitter.com/home?status=Check+out+http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/"><img title="twitter" src="http://www.mailsend-online.com/wp/twitter.gif" alt="twitter" /></a> <a href="http://twitter.com/home?status=Check+out+http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/" target="_blank">Share on Twitter</a><br /><a href="http://www.addthis.com/bookmark.php?pub=dvd&#38;url=http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/;title=Hiding+Batch+File+Console+Windows" target="_blank"><img title="aolfav" src="http://www.mailsend-online.com/wp/aolfav.gif" alt="aolfav" /></a> <a href="http://www.addthis.com/bookmark.php?pub=dvd&#38;url=http://jimlawless.wordpress.com/2009/11/02/hiding-batch-file-console-windows/;title=Hiding+Batch+File+Console+Windows" target="_blank">More bookmarks</a>
<p><img src="http://www.mailsend-online.com/cgi-bin/wphit.pl" /><br />
<em>Unless otherwise noted, all code and text entries are Copyright © 2009 by James K. Lawless</em></p>
</div>]]></content:encoded>
</item>

</channel>
</rss>
