刪除一個任務
Schtasks /Delete /tn
計劃的名字 /f
創建一個一次性的任務
Schtasks /Create /tn "
GameStart" /tr
D:\JavaWorkSpace\GameGate\doc\run.bat /sc once /st
23:04:00 /sd
2010/06/03 /ru
Administrator /rp
123456
posted @
2010-06-03 23:06 Vincent.Yu 閱讀(297) |
評論 (0) |
編輯 收藏
摘要: 首先上代碼,一個是工具類,一個是修該的SUN RUNTIME 里的 ZipOutputStream 類(用來解決中文亂碼問題)。
ZipTools.java
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
-->package...
閱讀全文
posted @
2008-10-30 17:55 Vincent.Yu 閱讀(12529) |
評論 (0) |
編輯 收藏
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Todoist</title>
<script>
function Douban(){
Douban.val = "test";
Douban.prototype.test = function(name){
alert("hello "+name);
}
Douban.testA = function(name){
alert("hello "+name);
}
};
</script>
</head>
<body>
<script>
var douban = new Douban();
alert(Douban.val);
douban.test("中國");
Douban.testA("中國");
</script>
</body>
</html>
直接設的可以直接調用,使用prototype的,需要有一該類的對象。
posted @
2008-10-30 17:37 Vincent.Yu 閱讀(250) |
評論 (0) |
編輯 收藏