xcopy "c:\your source folder" "d:\your destination folder" /E
For more information:
http://www.computerhope.com/xcopyhlp.htm
xcopy "c:\your source folder" "d:\your destination folder" /E
private static final String CALENDAR_DATE_PATTERN =
"yyyy-MM-dd'T'hh:mm:ss";
Calendar calendar = Calendar.getInstance();
SimpleDateFormat df =
new SimpleDateFormat(CALENDAR_DATE_PATTERN);
try{
calendar.setTime(df.parse(value));
} catch(ParseException pe){
throw new IllegalStateException(pe);
}
<%@ page trimDirectiveWhitespaces="true" %>Celle-ci supprime les espaces et lignes vides générés par le JSTL sans perdre l'indentation.
<jsp-config>source: http://raibledesigns.com/rd/entry/trim_spaces_in_your_jsp1
<jsp-property-group>
<url-pattern>*.jsp</url-pattern>
<trim-directive-whitespaces>true</trim-directive-whitespaces>
</jsp-property-group>
</jsp-config>
# 'startMyService.bat' # batch file to start my service @echo off net start "my Windows Service name"
# 'stopMyService.bat' # batch file to stop my service @echo off net stop "my Windows Service name"
1 CREATE PROCEDURE [dbo].[Example]
2
3 @param nvarchar(25)
4
5 AS
6 BEGIN
7 SET NOCOUNT ON;
8
9 DECLARE @sql nvarchar(MAX)
10
11 SET @sql =
12 'SELECT * FROM table WHERE table.field LIKE ''%' + @param + '%'' '
13
14 EXEC sp_executesql @sql
15
16 END
1 MyClass = Ext.extend(Object, {
2 p: 1
3 }
1 var obj = new MyClass ();
2 console.log(obj.p); // will be 'undefined'
1 MyClass = Ext.extend(Object, {
2 constructor : function(options){
3 Ext.apply(this, options || {} );
4 },
5 p: 1
6 });
public static void main(String[] args){
Integer i1 = 127;
Integer i2 = 127;
if(i1 == i2) System.out.println("i1 == i2");
if(i1 != i2) System.out.println("i1 != i2");
Integer i3 = 128;
Integer i4 = 128;
if(i3 == i4) System.out.println("i3 == i4");
if(i3 != i4) System.out.println("i3 != i4");
}
}
private void PrintHelpPage()
{
// Create a WebBrowser instance.
WebBrowser webBrowserForPrinting = new WebBrowser();
// Add an event handler that prints the document after it loads.
webBrowserForPrinting.DocumentCompleted +=
new WebBrowserDocumentCompletedEventHandler(PrintDocument);
// Set the Url property to load the document.
webBrowserForPrinting.Url = new Uri(@"\\myshare\help.html");
}
private void PrintDocument(object sender,
WebBrowserDocumentCompletedEventArgs e)
{
// Print the document now that it is fully loaded.
((WebBrowser)sender).Print();
// Dispose the WebBrowser now that the task is complete.
((WebBrowser)sender).Dispose();
}
Source: Microsoft MSDN