Archive
Archive for the ‘Uncategorized’ Category
Delete Files/Folders with Robocopy
July 18, 2014
1 comment
To create a batch file to have Robocopy delete the folder, create a text file called DelFolder.bat containing the following code:
@echo off if {%1}=={} @echo Syntax: DelFolder FolderPath&goto :EOF if not exist %1 @echo Syntax: DelFolder FolderPath – %1 NOT found.&goto :EOF setlocal set folder=%1 set MT=”%TEMP%\DelFolder_%RANDOM%” MD %MT% RoboCopy %MT% %folder% /MIR RD /S /Q %MT% RD /S /Q %folder% endlocal
The usage of this batch file is: DelFolder.bat PathToDelete
Advertisements
Categories: Uncategorized
XML Schema minOccurs / maxOccurs default values
September 6, 2013
Leave a comment
Attribute | Description |
---|---|
id | Optional. Specifies a unique ID for the element |
maxOccurs | Optional. Specifies the maximum number of times the sequence element can occur in the parent element. The value can be any number >= 0, or if you want to set no limit on the maximum number, use the value “unbounded”. Default value is 1 |
minOccurs | Optional. Specifies the minimum number of times the sequence element can occur in the parent element. The value can be any number >= 0. Default value is 1 |
For more Informations have look at the XML Schema reference here.
Categories: Uncategorized