xcopy dos command
Copies files and directory trees.XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W] [/C] [/I] [/Q] [/F] [/L] [/G] [/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
del folder, subfolder and content of the folder by dos command
1. delete the folder DELTREE D:Work1DGEDA_D'DELTREE' is not recognized as an internal or external command,operable program or batch file.deltree /y D:Work1DGEDA_D2. delete the content del /q /s /a:-r D:Worktest*.*This will delete all files in D:Worktest and all files in any subfolders under c:testexam, but will leave the empty subfolders Del FileDEL [/P] [/F] [/S] [/Q] [/A[[:]attributes]] namesERASE [/P] [/F] [/S] [/Q] [/A[[:]attributes]] namesnamesSpecifies a list of one or more files or direct
ssh-keygen -t rsa
C:Documents and Settingstomcat>mkdir .sshC:Documents and Settingstomcat>ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/cygdrive/c/Documents and Settings/tomcat/ssh/id_rsa):Enter passphrase (empty for no passphrase):Enter same passphrase again:open /cygdrive/c/Documents and Settings/tomcat/.ssh/id_rsa failed: Permission dnied.Saving the key failed: /cygdrive/c/Documents and Settings/tomcat/.ssh/id_rsa.C:Documents and Settingstomcat>--check p