@echo off rem connect to szotpc801 net use * /del /yes NET USE X: \\10.66.234.95\d$ Autotest123 /user:SZDOMAIN1\autotester set AutoPath=%~dp0 %AutoPath:~0,2% pushd %AutoPath% cd /d %AutoPath% set sourcePath=%AutoPath%\TestResult\PA set targetPath=X:\
Java遍历文件夹的2种方法: A.不使用递归: import java.io.File; import java.util.LinkedList; public class FileSystem { public static void main(String[] args) { long a = System.currentTimeMillis(); LinkedList list = new LinkedList(); File dir = new File("c:\\java\\&quo
using System; using System.Data; using System.Configuration; using System.Collections.Generic; using System.IO; using ICSharpCode.SharpZipLib.Zip; using ICSharpCode.SharpZipLib.Checksums; namespace BLL { /// <summary> /// 文件(夹)压缩.解压缩 /// </summar
import java.io.File; public class Test { public static void main(String args[]){ Test t = new Test(); delFolder("c:/bb"); System.out.println("deleted"); } //删除文件夹 //param folderPath 文件夹完整绝对路径 public static void delFolder(String folderP