<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Windows Batch File - Run Minimized?</title>
	<link>http://ask.metafilter.com/18994/Windows-Batch-File-Run-Minimized/</link>
	<description>Comments on Ask MetaFilter post Windows Batch File - Run Minimized?</description>
	<pubDate>Sun, 22 May 2005 05:15:14 -0800</pubDate>
	<lastBuildDate>Sun, 22 May 2005 05:15:14 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Windows Batch File - Run Minimized?</title>
		<link>http://ask.metafilter.com/18994/Windows-Batch-File-Run-Minimized</link>	
		<description>I&apos;ve a batch file for automatically uploading a file from my computer to my webspace. The batch file does it&apos;s job perfectly but I&apos;m having problems automating the running of the batch file. I&apos;ve set up a scheduled task to run the file but the problem is that even with the batch file settings changed to &apos;Run Minimized&apos; the scheduled task still runs maximised and takes over my whole screen. Since I have the file set to run every 10 minutes this is a problem. Anybody have any solutions?</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2005:site.18994</guid>
		<pubDate>Sun, 22 May 2005 03:43:38 -0800</pubDate>
		<dc:creator>daveirl</dc:creator>
		
			<category>windows</category>
		
			<category>scripting</category>
		
			<category>ftp</category>
		
			<category>batchfile</category>
		
	</item> <item>
		<title>By: krisjohn</title>
		<link>http://ask.metafilter.com/18994/Windows-Batch-File-Run-Minimized#313471</link>	
		<description>Create a shortcut to the batch file, set the screen settings in there, schedule the shortcut.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.18994-313471</guid>
		<pubDate>Sun, 22 May 2005 05:15:14 -0800</pubDate>
		<dc:creator>krisjohn</dc:creator>
	</item><item>
		<title>By: daveirl</title>
		<link>http://ask.metafilter.com/18994/Windows-Batch-File-Run-Minimized#313476</link>	
		<description>I thought that would work but it doesn&apos;t appear to. I think the scheduled tasks just &apos;sees through&apos; the shortcut to the batch file it&apos;s pointing to.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.18994-313476</guid>
		<pubDate>Sun, 22 May 2005 05:25:01 -0800</pubDate>
		<dc:creator>daveirl</dc:creator>
	</item><item>
		<title>By: Turtle</title>
		<link>http://ask.metafilter.com/18994/Windows-Batch-File-Run-Minimized#313487</link>	
		<description>The scheduled task &quot;sees through&quot; the shortcut if you create it using &quot;Browse&quot;.  If you edit your task to point to the actual shortcut, which ends in &quot;.lnk&quot;, then it&apos;ll work.&lt;br&gt;
&lt;br&gt;
The &quot;.lnk&quot; part of the shortcut&apos;s name is hidden by the window manager, but if your file is &quot;test.bat&quot;, your shortcut would be called something like &quot;Shortcut to test.bat.lnk&quot;&lt;br&gt;
&lt;br&gt;
More &lt;a href=&quot;http://robert.accettura.com/archives/2003/10/29/background-batch-file/#comment-1191&quot;&gt;here&lt;/a&gt;:&lt;br&gt;
&lt;br&gt;
&quot;I got it to work. Simply create a shortcut to the bat file in the same directory which will create a .lnk file. Go to the properties of the lnk file and set it to run minimized. Then, go to the scheduled task and &quot;manually&quot; enter the path+file name of the .lnk file.&lt;br&gt;
&lt;br&gt;
If you click browse to search for the lnk file, it won&apos;t work.&quot;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.18994-313487</guid>
		<pubDate>Sun, 22 May 2005 06:06:33 -0800</pubDate>
		<dc:creator>Turtle</dc:creator>
	</item><item>
		<title>By: SparkyPine</title>
		<link>http://ask.metafilter.com/18994/Windows-Batch-File-Run-Minimized#313843</link>	
		<description>I don&apos;t suppose you would be willing to share that batch file would you?  That sounds pretty handy.  I am assuming you are using FTP in the file to upload those files?  If you edit out the login info then I won&apos;t see any sensitive info.&lt;br&gt;
&lt;br&gt;
Thanks</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.18994-313843</guid>
		<pubDate>Mon, 23 May 2005 05:52:25 -0800</pubDate>
		<dc:creator>SparkyPine</dc:creator>
	</item><item>
		<title>By: daveirl</title>
		<link>http://ask.metafilter.com/18994/Windows-Batch-File-Run-Minimized#313951</link>	
		<description>First you save a file with the ftp commands you want to use e.g. in my case the following:&lt;br&gt;
&lt;code&gt;&lt;br&gt;
open my.webserver.ie&lt;br&gt;
username&lt;br&gt;
password&lt;br&gt;
cd davesrants.com/azureus/&lt;br&gt;
prompt&lt;br&gt;
mput azureus_stats.xml&lt;br&gt;
bye&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
Then, you simply create a batch file with the following command. &apos;azupdate.txt&apos; is the name of the set of commands I wrote out above.&lt;br&gt;
&lt;code&gt;&lt;br&gt;
cd C:\Documents and Settings\Dave\My Documents\&lt;br&gt;
ftp -s:azupdate.txt&lt;br&gt;
&lt;/code&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.18994-313951</guid>
		<pubDate>Mon, 23 May 2005 09:10:46 -0800</pubDate>
		<dc:creator>daveirl</dc:creator>
	</item>
	</channel>
</rss>
