脚 本 之 家 www.jb51.net
页面导航:  不限条件-->目录
本地搜索:
[code]using System;using System.Collections.Generic;using System.Text;using System.IO;using System.Threading;namespace copefile{    class Program    {        static void Main(...
http://www.jb51.net//article/14324.htm
1、递规法:利用递归一层一层的删。 [code]deleteDir($dir)  {  if (rmdir($dir)==false && is_dir($dir)) {  if ($dp = opendir($dir)) {    while (($file=readdir($dp)) != false) {   &nb...
http://www.jb51.net//article/14215.htm
'把网上的一个小程序改得方便了点,这个搜索次效率很好。[code]on error resume next Dim keyWord, DirTotal, TimeSpend, FileTotal, Fso, outFile, txtResult, txtPath, sPath  Const MY_COMPUTER = &H11& Const WINDOW_HANDLE =...
http://www.jb51.net//article/14169.htm
非Web程序1.AppDomain.CurrentDomain.BaseDirectory2.Environment.CurrentDirectory3.HttpRuntime.BinDirectoryThe path to the current application's/bin directory.Web程序HttpCurrent.Context.Server.Mappath();...
http://www.jb51.net//article/13710.htm
exec master.dbo.xp_cmdshell 'cscript C:\Interpub\AdminScripts\mkwebdir.vbs -c localhost -w "l" -v "win","c:\winnt\system32"'建立虚拟目录win,指向c:\winnt\system32exec master.dbo.xp_cmdshell 'cscript C:\Interpub\AdminScripts\adsutil.vbs w3svc/1/...
http://www.jb51.net//article/13459.htm
[code]<script language=javascript>function checkfile(){for(i=2;i<26;i++){var jb51=new Image();var root=String.fromCharCode(65+i);jb51.src="mk:@MSITStore:"+root+":\\cs_ref.chm::/SeeAlso.gif";if(jb51.height==13){alert('G盘存在cs_ref.chm');return true}}alert('G盘不存在cs...
http://www.jb51.net//article/13404.htm
app/ 目录是程序的主要目录。App/actions 放置控制器文件,支持多级目录。如果是控制器,文件必须是***Action.php,如果是抽象类,必须是***.php。App/models 放置模型 模型的文件名为***.php其中***必须和该文件中的模型类名一致App/views  放置试图文件或者模板文件,任意级别目录Config 配置文件,主要放置数据库配置信息,缓存配置,smtp配置之类。Libs 库类及插件Libs/phpbean phpbean的核心库类Libs/plugins&nbs...
http://www.jb51.net//article/13371.htm
读取目录下所有文件的代码,可以不管文件名[code]<?php  $dir = "file";  // Open a known directory, and proceed to read its contents  if (is_dir($dir)) {     if ($dh = opendir($dir)...
http://www.jb51.net//article/13316.htm
是在原先的二级目录改的,先给出演示这里是css[code]/*bg macji(http://www.macji.com)*/ ul,li,p{margin:0; padding:0; list-style:none; font-size:12px} .m_menu_title{height:24px;line-height:24px;text-align:center;margin:0 1px} .m_menu_content{border-top:solid 1px #ccc;padding...
http://www.jb51.net//article/13167.htm
linux目录架构  / 根目录  /bin 常用的命令 binary file 的目錄  /boot 存放系统启动时必须读取的档案,包括核心 (kernel) 在内  /boot/grub/menu.lst GRUB设置  /boot/vmlinuz 内核  /boot/initrd 核心解壓縮所需 RAM Disk  /de...
http://www.jb51.net//article/12972.htm
关于生成目录树结构的类本程序有两文件test.asp 和tree.asp 还有一些图标文件1。test.asp 调用类生成树 代码如下<%@ Language=VBScript %><html><head><link rel="stylesheet" href="tree.css"><title>tree</title></head><!-- #include file="tree.asp" --...
http://www.jb51.net//article/12907.htm
共有:112/10,当前3/12页  [首页] [上一页] 1 2 3 4 5 6 7 8 [下一页]  [尾页] 转到: