Subject: | |
From: | |
Reply To: | |
Date: | Wed, 4 Oct 2000 09:49:24 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Windows 2000 does have a 32bit command line just like NT4 does that is FAR
more advanced then Win98 DOS. You can access the Win2000 command line from
the RUN box or by bringing up the command line window. This looks like the
DOS window but is much more powerful. The differences are enormous. The
WinNT4 or Win2000 command window can be compared to a UNIX console. You can
just about do anything from the command line that the OS is capable of if
you know the correct command. Win2000 also supports windows batch files and
has the Windows batch file commands such as Start...Wait....etc.
Everything in the command line is 32 bit so there is no reason to specify
it. Win2000 does have a XCOPY feature. If you bring up the command window
and type XCOPY /? you will see the syntax and all the switches >>>>
Microsoft Windows 2000 [Version 5.00.2195]
Copies files and directory trees.
XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W]
[/C] [/I] [/Q] [/F] [/L] [/H] [/R] [/T] [/U]
[/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z]
[/EXCLUDE:file1[+file2][+file3]...]
source Specifies the file(s) to copy.
destination Specifies the location and/or name of new files.
/A Copies only files with the archive attribute set,
doesn't change the attribute.
/M Copies only files with the archive attribute set,
turns off the archive attribute.
/D:m-d-y Copies files changed on or after the specified date.
If no date is given, copies only those files whose
source time is newer than the destination time.
/EXCLUDE:file1[+file2][+file3]...
Specifies a list of files containing strings. When any of the
strings match any part of the absolute path of the file to be
copied, that file will be excluded from being copied. For
example, specifying a string like \obj\ or .obj will exclude
all files underneath the directory obj or all files with the
.obj extension respectively.
/P Prompts you before creating each destination file.
/S Copies directories and subdirectories except empty ones.
/E Copies directories and subdirectories, including empty ones.
Same as /S /E. May be used to modify /T.
/V Verifies each new file.
/W Prompts you to press a key before copying.
/C Continues copying even if errors occur.
/I If destination does not exist and copying more than one file,
assumes that destination must be a directory.
/Q Does not display file names while copying.
/F Displays full source and destination file names while copying.
/L Displays files that would be copied.
/H Copies hidden and system files also.
/R Overwrites read-only files.
/T Creates directory structure, but does not copy files. Does not
include empty directories or subdirectories. /T /E includes
empty directories and subdirectories.
/U Copies only files that already exist in destination.
/K Copies attributes. Normal Xcopy will reset read-only
attributes.
/N Copies using the generated short names.
Mark Rode
The NOSPIN Group
>I've just changed one of my PC's from Win98 to 2000 Pro. I use to run a
>backup batch file that used XCopy32 from the host 98 machine to the other.
>Now with 2000, batch files can not be executed. Does anyone know how I can
>get 2000 to backup selected essential files automatically since DOS is no
>longer accessible - preferably without having to buy third party software?
>
>Regards Roger.
Visit our website regularly for FAQs,
articles, how-to's, tech tips and much more
http://nospin.com - http://nospin.org
|
|
|