blank.gif (43 bytes)

Church Of The
Swimming Elephant

Search:
index.gif

ntcmds00000000.gif

Replace--Notes

Replace messages

As replace adds or replaces files, Windows NT displays their filenames on the screen. After the replace command is finished, Windows NT displays a summary line in one of the following formats:

nnn files added
nnn files replaced

no file added
no file replaced

Replacing files on floppy disks

If you are using floppy disks and need to switch disks during the replace operation, you can specify the /w switch so that replace will wait for you to switch disks, as necessary.

Limitations on replace

You cannot use the replace command to update hidden files or system files. For information about changing hidden and system attributes, see the attrib command.

Replace exit codes

The following list shows each exit code and a brief description of its meaning:

0
Replace successfully replaced or added the files.
1
Replace encountered an incorrect version of MS-DOS.
2
Replace could not find the source files.
3
Replace could not find the source or destination path.
5
The user does not have access to the files you want to replace.
8
There is insufficient system memory to carry out the command.
11
The user used the wrong syntax on the command line.

You can use the errorlevel parameter on the if command line in a batch program to process exit codes returned by replace. For an example of a batch program that processes exit codes, see the if command.

More Information About Replace

ntcmds00000001.gif Replace--Examples

ntcmds00000001.gif Replace

Cotse.Net

Protect yourself from cyberstalkers, identity thieves, and those who would snoop on you.
Stop spam from invading your inbox without losing the mail you want. We give you more control over your e-mail than any other service.
Block popups, ads, and malicious scripts while you surf the net through our anonymous proxies.
Participate in Usenet, host your web files, easily send anonymous messages, and more, much more.
All private, all encrypted, all secure, all in an easy to use service, and all for only $5.95 a month!

Service Details

 
.
www.cotse.com
Have you gone to church today?
.
All pages ©1999, 2000, 2001, 2002, 2003 Church of the Swimming Elephant unless otherwise stated
Church of the Swimming Elephant©1999, 2000, 2001, 2002, 2003 Cotse.com.
Cotse.com is a wholly owned subsidiary of Packetderm, LLC.

Packetderm, LLC
210 Park Ave #308
Worcester, MA 01609