R213FAQ - Universal Command Guide for Operating Systems

T2x/T3x series specific matters only
Post Reply
Message
Author
robert213
Junior Member
Junior Member
Posts: 471
Joined: Tue May 16, 2006 11:17 am
Location: IN: Indianapolis

R213FAQ - Universal Command Guide for Operating Systems

#1 Post by robert213 » Thu Feb 07, 2008 12:27 pm

R213FAQ - Universal Command Guide for Operating Systems

http://www.tomshardware.com/ucg/
http://www.tomshardware.com/ucg/command ... 13854.html
xcopy
OS: Microsoft Common
Function Copies files, directories, and subdirectories, and has many more features over the normal copy program.
Syntax xcopy source [ destination ] [ options... ]

/w Waits for the user to press a key before starting to copy.
/p Prompts for confirmation before copying each file.
/c Continues to copy even if errors occur.
/v Specifies that each file should be verified.
/q Suppresses any messages.
/f Shows source and target file names while copying.
/l Lists files that would be copied. No files are copied.
/d[:date] Copies files newer than date; if no date is specified, only newer files are copied.
/u Copies only files that already exist in the destination directory.
/i Assumes the specified target to be a directory and if it doesn't exist, creates it.
/s Copies all directories and subdirectories except if they are empty.
/e Copies all directories and subdirectories even if they are empty.
/t Copies only the directory structure not the files. Requires the /e option.
/k Keeps the read-only attribute if it present on the source (default it is removed).
/r Overwrites files with the read-only attribute set.
/h Copies files with the hidden or system attribute (default they are ignored).
/n Copies files and directories using NTFS short names.
/exclude:name Doesn't copy files listed in the specified file.
/z Specifies the use of restartable mode when copying over a network.
The following options can't be combined:
/a Copies only files with the archive file attribute.
/m Copies only files with the archive attribute and then removes them from the source.
source Specifies the source path or file.
destination Specifies the target path or file. If none is given, the current path is used.

File Name: xcopy.exe
Directory: \windows\command, NT, 2k:\winnt\system32, XP:\windows\system32
Type: External

xcopy c:\*.* d:\temp Copies all the files from c:\ to d:\temp.
xcopy c:\temp\*.* d:\temp /s Copies all files and subdirectories from c:\temp to d:\temp.
xcopy c:\temp\*.* d:\temp /d Copies all files from c:\temp to d:\temp that are newer
http://www.tomshardware.com/ucg/command ... 13756.html
xcopy32
OS: Windows Common
Function Is used to copy files, directories and subdirectories. Is intended to be run as a helper from the xcopy program.
Syntax xcopy source [ destination ] [ options... ]

The following two options cannot be combined.
/a Will only copy files with the archive file attribute.
/m Will only copy files with the archive attribute and then remove it from the source.
/d:[date ] Copies files newer than date, if no date is specified only newer file is copied.
/p Is used to prompt for confirmation before copying each file.
/s Copies all directories and subdirectories except if they are empty.
/e Copies all directories and subdirectories even if they are empty.
/w Waits fore the user to press a key before starting to copy.
/c Forces xcopy to continue copying when errors occur.
/i Assumes that the destination is a directory if it doesn't exist.
/y Will replace existing files without prompting.
/-y Will prompt before replacing existing files.
/h Enables copying of hidden and system files.
/r Enables xcopy to overwrite read-only files.
/t Skips copying files and creates directory structure.
/n Uses generated short filenames when copying.
/u Will update already existing files in the destination.
/q Quiet mode.
/f Shows full path of both source and destination file when copying.
/l Shows files that is going to be copied.
/k Copies files including their current attributes.
source Specifies which directory or file to copy.
destination Specifies where to copy files or name of new file.

File Name: xcopy32.exe
Directory: \windows\command
Type: External

xcopy32 c:\temp\*.* d:\temp /s Will copy all files and subdirectories from c:\temp to d:\temp.
http://www.duxcw.com/yabbse/index.php?board=4
d:
dir /?
dir /a /p
cd..
cd\
md userdocs
cd userdocs

c:
dir /a /p
cd userdocs
xcopy /?
xcopy *.*
"d:\userdocs\*.*"
/exclude:c:\xcopyexc.txt
/e /r /v /k /f /h /x

add /r -- on restart for overwriting read-only files
add /c -- to continue even when errors occur

where c:\xcopyexc.txt file format is:
c:\userdocs\junk\

xcopy32 *.*
"d:\userdocs\*.*"
/exclude:c\xcopyexc.txt
/e /v /k /f /h

add /r -- on restart for overwriting read-only files
add /c -- to continue even when errors occur

Memory Reminder - sERVe Kentucky Fried Chicken Hot!
Tuus-built T61: T8100 2.1 GHz, SXGA+, NVS140M, Patriot 4GB PC2-6400 DDR2-800, Samsung 840 120GB; Thinkpad T30: P4M 1.8 GHz, HYNIX 512 MB PC2700S DDR, Hitachi Travelstar 7K100 100GB; SilverStone Raven RVS01; 97 Volvo 850-R, 85 Mitsubishi Starion-ES, Keilwerth SX-90R, Ensoniq TS-12, Kawai EP-608

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad T2x & T3x Series”

Who is online

Users browsing this forum: No registered users and 4 guests