Errata

Windows XP in a Nutshell

Errata for Windows XP in a Nutshell

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 430
6th paragraph

Text reads as follows:

Copy all .doc files in all subdirectories of c:Documents and Settings to drive D:
for /r "c:Documents and Settings" %%i in (*.doc) do copy %%i d:

This will fail; every attempt to copy a file will result in "The system cannot find
the file specified" because the full path of each file will contain the directory
"Documents and Settings," which has spaces in it. The variable %%i after the copy
command needs to be surrounded with double quotes: "%%i" (Interestingly, the first
%%i does NOT need double quotes.)

Anonymous   
Printed Page 473
Item 1. (second paragraph from bottom.)

Using Windows XP, delivered with Service Pack 1 installed, I cannot find any
reference to "Use simple file sharing".

Anonymous   
Printed Page 534
First example of code

In the example given where the script goes through the windows directory and prints
the size in bytes of all the sub-folders, you have the line:

"For each objSub In objFolder.SubFolders()"
which does not work. I believe this line should be:
"For each objSub In objFolder.SubFolders"

This does work. I think the problem is that SubFolders is a property and not a method.

Anonymous