 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Stupid Scripting question &#8211; what am I missing?</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/stupid-scripting-question-what-am-i-missing/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/stupid-scripting-question-what-am-i-missing/</link>
	<description></description>
	<lastBuildDate>Tue, 21 May 2013 14:04:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: davidfigueroa</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/stupid-scripting-question-what-am-i-missing/#comment-40197</link>
		<dc:creator>davidfigueroa</dc:creator>
		<pubDate>Fri, 25 Feb 2005 11:23:13 +0000</pubDate>
		<guid isPermaLink="false">#comment-40197</guid>
		<description><![CDATA[the forum is definitely removing back slash characters.. I know I had it in mine when I typed it out.]]></description>
		<content:encoded><![CDATA[<p>the forum is definitely removing back slash characters.. I know I had it in mine when I typed it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: melvin</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/stupid-scripting-question-what-am-i-missing/#comment-40198</link>
		<dc:creator>melvin</dc:creator>
		<pubDate>Thu, 24 Feb 2005 17:07:06 +0000</pubDate>
		<guid isPermaLink="false">#comment-40198</guid>
		<description><![CDATA[Thanks Everyone for the help.  It was the double quotes issue.

I appreciated all of your input.]]></description>
		<content:encoded><![CDATA[<p>Thanks Everyone for the help.  It was the double quotes issue.</p>
<p>I appreciated all of your input.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drmikec</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/stupid-scripting-question-what-am-i-missing/#comment-40199</link>
		<dc:creator>drmikec</dc:creator>
		<pubDate>Thu, 24 Feb 2005 11:07:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-40199</guid>
		<description><![CDATA[I see no backslashes - maybe the forum is stripping them?  There should be a backslash between each folder name.  Also, somewhere in the dregs of my memory, an environment variable in a batch file requires two % signs, e.g. %%userprofile%%

]]></description>
		<content:encoded><![CDATA[<p>I see no backslashes &#8211; maybe the forum is stripping them?  There should be a backslash between each folder name.  Also, somewhere in the dregs of my memory, an environment variable in a batch file requires two % signs, e.g. %%userprofile%%</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davidfigueroa</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/stupid-scripting-question-what-am-i-missing/#comment-40200</link>
		<dc:creator>davidfigueroa</dc:creator>
		<pubDate>Thu, 24 Feb 2005 10:54:58 +0000</pubDate>
		<guid isPermaLink="false">#comment-40200</guid>
		<description><![CDATA[It should be:
copy Y:notesreg.lnk &quot;%userprofile%Start MenuProgramsStartup&quot;

(all one line of course) 

You may want to add a /y to overwrite just in case.
copy /y Y:notesreg.lnk &quot;%userprofile%Start MenuProgramsStartup&quot;

Or you could do this:

if not exist &quot;%userprofile%Start MenuProgramsStartupnotesreg.lnk&quot; copy Y:notesreg.lnk &quot;%userprofile%Start MenuProgramsStartup&quot;

Since Y is a mapped drive, you may want to use UNC paths instead.

David Figueroa]]></description>
		<content:encoded><![CDATA[<p>It should be:<br />
copy Y:notesreg.lnk &#8220;%userprofile%Start MenuProgramsStartup&#8221;</p>
<p>(all one line of course) </p>
<p>You may want to add a /y to overwrite just in case.<br />
copy /y Y:notesreg.lnk &#8220;%userprofile%Start MenuProgramsStartup&#8221;</p>
<p>Or you could do this:</p>
<p>if not exist &#8220;%userprofile%Start MenuProgramsStartupnotesreg.lnk&#8221; copy Y:notesreg.lnk &#8220;%userprofile%Start MenuProgramsStartup&#8221;</p>
<p>Since Y is a mapped drive, you may want to use UNC paths instead.</p>
<p>David Figueroa</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aleccc</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/stupid-scripting-question-what-am-i-missing/#comment-40201</link>
		<dc:creator>aleccc</dc:creator>
		<pubDate>Thu, 24 Feb 2005 07:39:52 +0000</pubDate>
		<guid isPermaLink="false">#comment-40201</guid>
		<description><![CDATA[add double quotes (&quot;) around source and destination if they contain spaces, so that copy command doesn&#039;t split them.

replace :
copy Y:notesreg.lnk %userprofile%Start MennuProgramsStartup
with:
copy Y:notesreg.lnk &quot;%userprofile%Start MennuProgramsStartup&quot;]]></description>
		<content:encoded><![CDATA[<p>add double quotes (&#8220;) around source and destination if they contain spaces, so that copy command doesn&#8217;t split them.</p>
<p>replace :<br />
copy Y:notesreg.lnk %userprofile%Start MennuProgramsStartup<br />
with:<br />
copy Y:notesreg.lnk &#8220;%userprofile%Start MennuProgramsStartup&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ccbuff</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/stupid-scripting-question-what-am-i-missing/#comment-40202</link>
		<dc:creator>ccbuff</dc:creator>
		<pubDate>Wed, 23 Feb 2005 13:19:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-40202</guid>
		<description><![CDATA[try copy y:notesreg.lnk %userprofile%&quot;Start Menu&quot;ProgramsStartup /y
]]></description>
		<content:encoded><![CDATA[<p>try copy y:notesreg.lnk %userprofile%&#8221;Start Menu&#8221;ProgramsStartup /y</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tegryan</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/stupid-scripting-question-what-am-i-missing/#comment-40203</link>
		<dc:creator>tegryan</dc:creator>
		<pubDate>Wed, 23 Feb 2005 12:09:46 +0000</pubDate>
		<guid isPermaLink="false">#comment-40203</guid>
		<description><![CDATA[Menu has two N&#039;s in it.

I tried posting a reply earlier, didn&#039;t work for some reason, sorry if it ends up with a double post.

T]]></description>
		<content:encoded><![CDATA[<p>Menu has two N&#8217;s in it.</p>
<p>I tried posting a reply earlier, didn&#8217;t work for some reason, sorry if it ends up with a double post.</p>
<p>T</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ghigbee</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/stupid-scripting-question-what-am-i-missing/#comment-40204</link>
		<dc:creator>ghigbee</dc:creator>
		<pubDate>Wed, 23 Feb 2005 12:07:19 +0000</pubDate>
		<guid isPermaLink="false">#comment-40204</guid>
		<description><![CDATA[Try this:


copy Y:notesreg.lnk &quot;%userprofile%Start MenuProgramsStartup&quot; /y]]></description>
		<content:encoded><![CDATA[<p>Try this:</p>
<p>copy Y:notesreg.lnk &#8220;%userprofile%Start MenuProgramsStartup&#8221; /y</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/10 queries in 0.058 seconds using memcached
Object Caching 365/371 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-21 14:17:17 -->