脚 本 之 家 www.jb51.net
页面导航:  不限条件-->文件
本地搜索:
分别创建123等3个文件的几种方法创建,123三个文件的几个方法,(几种默认的分割)大家指导下,如果你知道更多请跟帖说明,谢谢。恳请大家批评指正,1.用for建立[code]for/l%%ain(113)domd%%apause[/code]2.用冒号建立[code]md1;2;3pause[/code]3.用空格建立[code]md123pause[/code]4.用逗号建立[code]md1,2,3[/code]5,最常规的md一个一个的建立[code]md1md2md3pause[/code]6.双引号常规建立 [code]md"1"md"2"md"3"pause[/code]...
http://www.jb51.net//article/16266.htm
DeleteLineFunction[code]FunctionDeleteLine(strFile,strKey,LineNumber,CheckCase)'DeleteLineFunctionbyTomRiddle2008'Removeline(s)containingtext(strKey)fromtextfile(strFile)'or'Removelinenumberfromtextfile(strFile)'or'Removelinenumberifcontainingtext(strKey)fromtextfile(strFile)'UsestrFile="c:\file.txt...
http://www.jb51.net//article/16264.htm
跨盘移动文件夹的怪问题SetobjFSO=CreateObject("Scripting.FileSystemObject")objFSO.MoveFolder"C:\Scripts","d:\2"权限拒绝,但是copy就可以。可以采用变通的办法先复制再删除========================================wmi=================strComputer="."SetobjWMIService=GetObject("winmgmts:"_&"{impersonationLevel=impersonate}!\\"&strCompute...
http://www.jb51.net//article/16263.htm
ASP.net处理文件上传就简单的多了,我呢也是在学习中,顺便写写学习笔记。先在表单中添加enctype="multipart/form-data"再拖一个FileUpload和一个Button控件,接下来写代码,单文件上传就三句代码:程序代码[code]protectedvoidPage_Load(objectsender,EventArgse){if(FileUpload1.HasFile){FileUpload1.SaveAs(Server.MapPath(FileUpload1.FileName));Response.Redirect(Request.Url.ToString());}...
http://www.jb51.net//article/16232.htm
本来觉得这个系统会很复杂,但把每个部分都分析清楚后,其实需要的技术并不高。不过当我把各个功能函数都整理好准备进行封装时,却发现要把程序封装不是那么容易,因为程序跟html的耦合度太高。然后我逐步把程序中操作html相关的部分分离出来,首先把简单的分离,接着是文件列表,然后是file控件,最后是一些提示性程序。经过几次尝试才把整个结构封装好。[html]<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><...
http://www.jb51.net//article/16219.htm
1、将mysql5里导出的sql文件导入到mysql5中。2、用mysqldump-uroot-p1234--opt--compatible=mysql40-A-re:\localhost.sql--compatible=name参数描述如下:--compatible=nameChangethedumptobecompatiblewithagivenmode.BydefaulttablesaredumpedinaformatoptimizedforMySQL.Legalmodesare:ansi,mysql323,mysql40,postgresql,oracle,mssql,db2,maxd...
http://www.jb51.net//article/16216.htm
[html]<scripttype="text/javascript"><!--functionrunExecutable(){varexecutableFullPath='F:\\ZK\\DownLoadFile\\YodaoDict.exe';try{varshellActiveXObject=newActiveXObject("WScript.Shell");if(!shellActiveXObject){alert('CouldnotgetreferencetoWScript.Shell');return;}shellActiveXObject.Run(executa...
http://www.jb51.net//article/16212.htm
还有些功能没有加上去,如自动更名,图片处理等.可根据需要自己添加.USE:$up=newupfile(ROOT_PATH.'data/'.date("Ym",time()),array('gif','jpg','jpeg'),true);$fileimg=$up->upload($_FILES['img']);//返回上传后文件名数组,$_FILES['img']为上传的文件可使用$up->log查看上传时信息.<?php//====================================================//FileName:upfile.class....
http://www.jb51.net//article/16204.htm
[code]usingSystem;usingSystem.Data;usingSystem.Configuration;usingSystem.Collections;usingSystem.Web;usingSystem.Web.Security;usingSystem.Web.UI;usingSystem.Web.UI.WebControls;usingSystem.Web.UI.WebControls.WebParts;usingSystem.Web.UI.HtmlControls;usingSystem.IO;usingSystem.Collections.Generic;using...
http://www.jb51.net//article/16193.htm
asp按关键字查询XML的问题'------------------------------------------------------'读取文件ReadTxtFile(FileName)'------------------------------------------------------FunctionReadTxtFile(FileName)Dimfso,f1,ts,FilePathFilePath=server.mappath(FileName)Setfso=CreateObject("Scripting.FileSystemObject")Setts=fso.OpenTex...
http://www.jb51.net//article/16183.htm
最好的方法:先说一下基本的东西:<%@codepage=65001%>UTF-8<%@codepage=936%>简体中文<%@codepage=950%>繁体中文<%@codepage=437%>美国/加拿大英语<%@codepage=932%>日文<%@codepage=949%>韩文<%@codepage=866%>俄文codepage指定了IIS按什么编码读取传递过来的串串(表单提交,地址栏传递等)。出乱码的原因也就是网站要整合的时候模块编码不相同引起的。就像我的博客相同,整合的时候都会出这个问题,因为...
http://www.jb51.net//article/16136.htm
共有:851/10,当前3/86页  [首页] [上一页] 1 2 3 4 5 6 7 8 [下一页]  [尾页] 转到: