MoveFile() 移动文件
MoveFolder() 移动目录
例:
filesystemobject
var fso = new ActiveXObject("Scripting.FileSystemObject");
var newpath = fso.MoveFile("c:\\boat.txt", "d:\\boat1.t...
分类:
移动开发 时间:
2015-04-01 17:54:07
阅读次数:
157
DriveExists(盘符)
检查一个盘是否存在
FileExists(文件名)
检查一个文件是否存在
FolderExists(目录名)
检查一个文件夹是否存在
例:
filesystemobject
var fso = new ActiveXObject("Scripting.FileSystemObject");
ha...
分类:
其他好文 时间:
2015-04-01 15:23:42
阅读次数:
140
原文地址:http://java.dzone.com/articles/xss-filter-java-ee-web-appsCross Site Scripting, or XSS, is a fairly common vector used to attack web sites. It in...
分类:
移动开发 时间:
2015-04-01 14:53:42
阅读次数:
347
Private Sub Form_Load()'‘newexcel. '---- 对象的属性赋值代码'获取磁盘序列号 Dim file1 As Object Dim txt1 As Object Set FSO = CreateObject("Scripting.FileSyst...
分类:
编程语言 时间:
2015-03-31 17:49:25
阅读次数:
181
涉及到文件夹的操作包括创建、移动、删除以及获取相关属性。
例:获取父文件夹名称、创建文件夹、删除文件夹、判断是否为根目录
New Document
var fso = new ActiveXObject("Scripting.FileSystemObject");
var fldr = fso.GetFolder("c:\\"); // 获取D...
分类:
其他好文 时间:
2015-03-30 13:29:18
阅读次数:
136
要在javascript中实现文件操作功能,主要就是依靠FileSystemobject对象。
使用FileSystemObject 对象进行编程很简单,一般要经过如下的步骤:
1、创建FileSystemObject对象
var fso = new ActiveXObject("Scripting.FileSystemObject");
2、创建对象实例后,就可以使用对象的相关方法了。...
分类:
其他好文 时间:
2015-03-30 11:17:05
阅读次数:
95
Azure PowerShell is a powerful scripting environment that you can use to control and automate the deployment and management of your workloads in Azure...
分类:
系统相关 时间:
2015-03-29 16:27:37
阅读次数:
177
今天来简单看下Groovy语言的实现机制。在那之前得先来扯下[静态类型](http://en.wikipedia.org/wiki/Type_system#STATIC)与[动态类型](http://en.wikipedia.org/wiki/Type_system#DYNAMIC)语言在实现上面的一些差异。...
分类:
编程语言 时间:
2015-03-18 01:12:58
阅读次数:
123
续【Quick-COCOS2D-X 3.3 如何绑定自定义类至Lua之三】动手绑定自定义类至Lua 之后,我们已经完成了自定义类至Lua的绑定。在接下来的环节,我们将使用它。...
分类:
编程语言 时间:
2015-03-17 18:07:34
阅读次数:
187
查看【Quick-COCOS2D-X 3.3 如何绑定自定义类至Lua之二】新建项目中配制环境,我们完美的在新建项目中完成了绑定需要的环境,接下来才是最关健的一步。绑定自定义C++类至Lua。...
分类:
其他好文 时间:
2015-03-17 12:24:23
阅读次数:
143