Win32OperatingSystem.st
changeset 18951 221159378a9f
parent 18674 242c1aae7702
child 18953 c6c35fa98cb3
child 18954 813f1c2c49ca
equal deleted inserted replaced
18948:cab22236fc65 18951:221159378a9f
   876     "Modified: 22.4.1996 / 13:10:43 / cg"
   876     "Modified: 22.4.1996 / 13:10:43 / cg"
   877     "Created: 15.6.1996 / 15:22:37 / cg"
   877     "Created: 15.6.1996 / 15:22:37 / cg"
   878     "Modified: 7.1.1997 / 19:36:11 / stefan"
   878     "Modified: 7.1.1997 / 19:36:11 / stefan"
   879 ! !
   879 ! !
   880 
   880 
       
   881 
   881 !Win32OperatingSystem class methodsFor:'OS signal constants'!
   882 !Win32OperatingSystem class methodsFor:'OS signal constants'!
   882 
   883 
   883 sigABRT
   884 sigABRT
   884     "return the signal number for SIGABRT - 0 if not supported by OS
   885     "return the signal number for SIGABRT - 0 if not supported by OS
   885      (the numeric value is not the same across unix-systems)"
   886      (the numeric value is not the same across unix-systems)"
  4537 
  4538 
  4538 recursiveCopyDirectory:sourcePathName to:destination
  4539 recursiveCopyDirectory:sourcePathName to:destination
  4539     "copy the directory named 'sourcePathName' and all contained files/directories to 'destination'.
  4540     "copy the directory named 'sourcePathName' and all contained files/directories to 'destination'.
  4540      Return true if successful."
  4541      Return true if successful."
  4541 
  4542 
  4542     ^ OperatingSystem executeCommand:('xcopy %1 %2 /s /e /h' bindWith:sourcePathName with:destination)
  4543     ^ OperatingSystem executeCommand:('xcopy %1 %2 /s /e /h /r /y' bindWith:sourcePathName with:destination)
  4543 !
  4544 !
  4544 
  4545 
  4545 removeDirectory:fullPathName
  4546 removeDirectory:fullPathName
  4546     "remove the directory named 'fullPathName'.
  4547     "remove the directory named 'fullPathName'.
  4547      The directory must be empty and you must have appropriate access rights.
  4548      The directory must be empty and you must have appropriate access rights.