Wrong....read the docs...if copy didn't do binary by default there would so 
many screwed up computers in the world....
 
 
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/copy.mspx?mfr=true

Using /b 

/b directs the command interpreter to read the number of bytes specified by the 
file size in the directory. /b is the default value for copy, unless copy 
combines files. 

When /b precedes a list of files on the command line, it applies to all listed 
files until copy encounters /a. In this case, /a applies to the file preceding 
/a.

When /b follows a list of files on the command line, it applies to all listed 
files until copy encounters /a. In this case, /a applies to the file preceding 
/a. 

The effect of /b depends on its position in the commandline string. When /b 
follows Source, copy copies the entire file, including any end-of-file 
character.

When /b follows Destination, copy does not add an end-of-file character. 

Michael D. Black
Senior Scientist
Advanced Analytics Directorate
Northrop Grumman Information Systems
 

________________________________

From: sqlite-users-boun...@sqlite.org on behalf of Kees Nuyt
Sent: Thu 7/22/2010 10:18 AM
To: sqlite-users@sqlite.org
Subject: EXTERNAL:Re: [sqlite] Very Slow DB Access After Reboot on Windows



On Thu, 22 Jul 2010 08:56:31 -0400, "Griggs, Donald"
<donald.gri...@allscripts.com> wrote:

>
>
>Regarding:
>    Also...try doing a "copy my.db nul:" to get it cached once before you use 
> it.
>
>
>Am I right in thinking he may want to include the "/b" (binary) option so that 
>the copy doesn't stop at the first nul byte?
>
>      copy /b my.db nul

You are right.
--
  (  Kees Nuyt
  )
c[_]
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to