<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Autorun.inf programing in Webmasters and Developers</title>
<link>http://www.dslreports.com/forum/r21564746</link>
<description></description>
<language>en</language>
<pubDate>Thu, 10 Dec 2009 05:56:19 EDT</pubDate>
<lastBuildDate>Thu, 10 Dec 2009 05:56:19 EDT</lastBuildDate>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21715367</link>
<description><![CDATA[<A HREF="/useremail/u/203819"><b>R2</b></A> : FYI - the answer to this appears to be:<br><br>Format part of the Flash drive in "CDFS" (CD file system).  This makes the OS believe the drive is a CD.  This allows it to use "AutoRun".<br>______<br><br>Add: the only way I could find to do this is to use Linux and mkisofs.exe.  It seems you need to make an .iso of the files you want on the CD partition and then get that on to the Flash drive.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21715367</guid>
<pubDate>Sat, 10 Jan 2009 11:46:44 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21694690</link>
<description><![CDATA[<A HREF="/useremail/u/308931"><b>PapaDos</b></A> : DELETED<br>Oups ! I misread your intent.<br><br><small>--<br><b>Festina</b> Lente</small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21694690</guid>
<pubDate>Wed, 07 Jan 2009 03:25:54 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21691410</link>
<description><![CDATA[<A HREF="/useremail/u/203819"><b>R2</b></A> : Correct, but if we look at it from a paranoid perspective, you realize CD-R and DVD-R discs are just as dangerous as removable drives, and if the disc is not labelled -- or labelled erroneously (maliciously or not) -- the risk is the exactly same.  As best I know you cannot look at a physical disc and know if it is CD-R or ROM - you have to trust the label.  So perhaps you should not feel so comfortable about putting *any* disc in your computer - unless you made it yourself.<br><br>Mess around the OS is exactly what I would like to do.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21691410</guid>
<pubDate>Tue, 06 Jan 2009 16:21:18 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21686572</link>
<description><![CDATA[<A HREF="/useremail/u/1311661"><b>Jigglyware</b></A> : Oh, of course. But the problem is that CD(and DVD)-ROMS are typically read-only, and can't get rewritten my a virus. However, removable drive are usually writable, and can be infected by an autorun.inf virus. Because of that, Microsoft changed the autorun handler behavior for removable drives and cause it to bring up the dialog you posted. You can change it(I forget how exactly) but it involves messing around in the OS. Not exactly convenient.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21686572</guid>
<pubDate>Mon, 05 Jan 2009 19:15:03 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21686056</link>
<description><![CDATA[<A HREF="/useremail/u/203819"><b>R2</b></A> : I understand, but that is *exactly* what CD drives can do...  If you are concerned about that, you should disable AutoRun for CD drives.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21686056</guid>
<pubDate>Mon, 05 Jan 2009 17:44:30 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21639503</link>
<description><![CDATA[<A HREF="/useremail/u/1311661"><b>Jigglyware</b></A> : Not that I'm accusing you of anything per se, but the kind of behavior you wish to implement is very virus like, and was the reason the autoplay dialog was implemented. I sure know that I'd be very suspicious if a flash drive tried to execute something without my consent.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21639503</guid>
<pubDate>Fri, 26 Dec 2008 16:24:43 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21572867</link>
<description><![CDATA[<A HREF="/useremail/u/203819"><b>R2</b></A> : OK, I have the 'script' part working well - using the 8.3 naming system I can have the entire contents of the flash drive copied to exactly where I want.<br><br>Now the next problem...<br><br>Flash Drives do not work like CD's.  That is, they do not "autorun" normally.  So, when the drive is inserted, instead of "autorunning", the Autoplay dialog box pops up instead.<br><br>Now, I can use the "ACTION" line in the autorun.inf file, but that only allows me to make the "copy" command the first item in the list (see image above) -- it does not cause it to "AutoRun".  <br><br>How do I tell Windows to "AutoRun" a flash drive??  Is this possible?  Thanks<div class="borderless"><TABLE WIDTH=95% align=center border=0 CELLPADDING=4"><TR><TD ALIGN=CENTER VALIGN=CENTER BGCOLOR=#FFFFFF nwrap COLSPAN=2 WIDTH=66%><A HREF="/speak/slideshow/21572867?c=1379343&ret=L2ZvcnVtL3IyMTU2NDc0Ni54bWw%3D"><IMG TITLE="30093 bytes" BORDER=0 WIDTH=347 HEIGHT=361 SRC="/r0/download/1379343~47fe97278dc1be8de4c7bda73a73e67c/ap.JPG"></A></TD></TABLE></div>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21572867</guid>
<pubDate>Fri, 12 Dec 2008 18:20:16 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21571671</link>
<description><![CDATA[<A HREF="/useremail/u/203819"><b>R2</b></A> : No, and I don't really want that to be the path -- I was using that as a test folder.<br><br>Shouldn't xcopy create the folder if it doesn't exist?  It did with my first trial.<br>_________________<br><br>Hmmm...  it does not work like this:<br><br>xcopy "%curdrive%\" c:\temp /i /s<br><br>But it does seem to work like this:<br><br>xcopy *.* "c:\temp" /i /s<br><br>It does not appear that I need to figure out the current drive??<br>______________________<br><br>Ahhh....  I think the problem is the backslash!  It DOES work like this:<br><br>xcopy "%curdrive%" c:\temp /i /s<br><br>...  But I think I need to add the "/y" to avoid it asking about over-writing.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21571671</guid>
<pubDate>Fri, 12 Dec 2008 14:52:56 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21571439</link>
<description><![CDATA[<A HREF="/useremail/u/217865"><b>cowboyro</b></A> : <div class="bquote"><small>said by  R2 <A HREF="/useremail/u/203819"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>Thanks.  I'll give that a try!<br>_________________<br><br>Let me make sure I got that - is "folder\subfolder" correct?  I just want to copy the entire contents of the flash drive.<br> </div>Then use xcopy "%curdrive%\" "c:\temp" /i /s<br>does your C:\temp path exist???]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21571439</guid>
<pubDate>Fri, 12 Dec 2008 14:13:18 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21571153</link>
<description><![CDATA[<A HREF="/useremail/u/203819"><b>R2</b></A> : I get this as the result:<br><br>F:\>xcopy "F:  \" "c:\temp  " /I /S<br><b>Invalid path<br>0 File(s) copied</b>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21571153</guid>
<pubDate>Fri, 12 Dec 2008 13:28:20 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21570293</link>
<description><![CDATA[<A HREF="/useremail/u/203819"><b>R2</b></A> : Thanks.  I'll give that a try!<br>_________________<br><br>Let me make sure I got that - is "folder\subfolder" correct?  I just want to copy the entire contents of the flash drive.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21570293</guid>
<pubDate>Fri, 12 Dec 2008 11:07:28 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21569701</link>
<description><![CDATA[<A HREF="/useremail/u/217865"><b>cowboyro</b></A> : <textarea name="code" class="text" cols=50 rows=10>set scrpath=folder\subfolder&#012;set destpath=c:\temp&#012; &#012;rem === GET CURRENT DRIVE ===&#012;for /f "usebackq delims=\" %%i in (`cd`) do set curdrive=%%i&#012; &#012;xcopy "%curdrive%\%srcpath%" "%destpath%" /I /S&#012;</textarea><!--end code block-->]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21569701</guid>
<pubDate>Fri, 12 Dec 2008 09:23:50 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21567011</link>
<description><![CDATA[<A HREF="/useremail/u/203819"><b>R2</b></A> : That looks very promising - thanks.  I believe I can use wildcards (*) also.  I will give it a try.  Thanks.<br>_________<br><br>And do I want xcopy?  I'll check it out.<br>_______________<br><br>Forgive my ignorance.  I tried this - and it works - sort of:<br><textarea name="code" class="text" cols=50 rows=10>xcopy /S *.* C:\temp&#012;</textarea><!--end code block-->But I get hit with this:<br><textarea name="code" class="text" cols=50 rows=10>Does C:\temp specify a file name&#012;or directory name on the target&#012;(F = file, D = directory)? d&#012;</textarea><!--end code block-->How do avoid that message?  <b>ANSWER - add a backslash at the end!!</b><br><br>And it looks like I need to use short file names, correct?<br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21567011</guid>
<pubDate>Thu, 11 Dec 2008 18:51:17 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21566957</link>
<description><![CDATA[<A HREF="/useremail/u/449413"><b>jayco437</b></A> : Have looked at something like this:<br><br>&raquo;<A HREF="http://autorun.moonvalley.com/relative_vs_absolute_paths.htm" >autorun.moonvalley.com/relative_&middot;&middot;&middot;aths.htm</A><br><br>Put everything in a folder on the stick, and try using a relative path, such as .\MyUSBFolder\]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21566957</guid>
<pubDate>Thu, 11 Dec 2008 18:41:32 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21565158</link>
<description><![CDATA[<A HREF="/useremail/u/203819"><b>R2</b></A> : I can write the autorun file and I can tell it WHAT to run -- I just need to make sure that the file I tell it to run will actually COPY the flash drives contents to a folder on the hard drive.  I don't think many CD's do that...<br><br>Something as simple as:<br><textarea name="code" class="text" cols=50 rows=10>Copy D: C:\MyFlash&#012;</textarea><!--end code block-->BUT... that will fail because the Flash drive will NOT always be the D: drive.  I need to be able to say "copy THIS drive to a folder on the C: drive."<br><br>I want this to work on multiple computers.<br>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21565158</guid>
<pubDate>Thu, 11 Dec 2008 13:21:17 EDT</pubDate>
</item>

<item>
<title>Re: Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21564951</link>
<description><![CDATA[<A HREF="/useremail/u/274243"><b>GILXA1226</b></A> : <div class="bquote"><small>said by  R2 <A HREF="/useremail/u/203819"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>I want to write a program/script that copies that contents of a Flash Drive to a specific folder on the hard drive as soon as the Flash drive is inserted.<br><br>I have the tools to create the autorun.inf file, but I need to make sure that the file designed to run on insertion copies the contents like I want.<br><br>For example, can I use CMD file to do this?  If so, how do I have it figure out the drive letter of the Flash drive?<br><br>Any thoughts are appreciated.  Thanks.<br> </div>My first thought would be to find a CD that had an autorun.inf file on it and use that as a base.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21564951</guid>
<pubDate>Thu, 11 Dec 2008 12:45:09 EDT</pubDate>
</item>

<item>
<title>Autorun.inf programing</title>
<link>http://www.dslreports.com/forum/remark,21564746</link>
<description><![CDATA[<A HREF="/useremail/u/203819"><b>R2</b></A> : I want to write a program/script that copies that contents of a Flash Drive to a specific folder on the hard drive as soon as the Flash drive is inserted.<br><br>I have the tools to create the autorun.inf file, but I need to make sure that the file designed to run on insertion copies the contents like I want.<br><br>For example, can I use CMD file to do this?  If so, how do I have it figure out the drive letter of the Flash drive?<br><br>Any thoughts are appreciated.  Thanks.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,21564746</guid>
<pubDate>Thu, 11 Dec 2008 12:08:35 EDT</pubDate>
</item>

</channel>
</rss>
