@echo off set today=%date:~0,4%%date:~5,2%%date:~8,2% xcopy /E /I E:\aaa e:\test\%today% for /f "skip=2" %%i in ('dir /B /O-N E:\test') do rd E:\test\dest\%%i /S /Q --------------------------代码在上,说明在下-------------------------------- 说明: @echo o
# -*- coding: utf-8 -*- import os #遍历文件夹删除文件 def traversing_dir(rootDir): #遍历根目录 for root,dirs,files in os.walk(rootDir): for file in files: #文件后缀名 extFile=os.path.splitext(file)[1] if extFile==".longtian": os.remove(os.path.join(root,file)) #删除
typedef struct _browseinfoW { HWND hwndOwner; PCIDLIST_ABSOLUTE pidlRoot; LPWSTR pszDisplayName; // Return display name of item selected. LPCWSTR lpszTitle; // text to go in the banner over the tree. UINT ulFlags; // Flags that control the return stu