Re: prepinace VBS

From: Miro Vesely (mirex@internet.sk)
Date: 20. 12. 2001, 15:33 CET


> Likavcan, Alexander:
>  
>> MyShell.run " ... " /m /s /h /r /e ",,True
> si ma dostal, hladal som v msdn asi pol hodinu!!!

neni to nahodou a ciste nahodou zkomoleny skript, co sme
tu nedavno davali dohromady?

tie prepinace som fabrikoval ja a ty si ich autorizoval :)
a ich vyklad pripajam dolu

skript

Set MyShell=Wscript.CreateObject("Wscript.Shell")
MyShell.run "xcopy c:\data x:\backup_dajly\data\ /m /s /h /r /y /e",,True

  /M           Copies only files with the archive attribute set,
               turns off the archive attribute.

  /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.
  /H           Copies hidden and system files also.
  /R           Overwrites read-only files.
  /Y           Suppresses prompting to confirm you want to overwrite an
               existing destination file.


Mirex. 
 
-- 

www.mix.sk 

štvrtok, 20. december 2001, 15:29



This archive was generated by hypermail 2.1.2 : 20. 12. 2001, 15:38 CET