@echo on @c: @cd c:Tornado2.2hostx86-win32in&torvars.bat&cd c:Tornado2.2 argetconfigvmware&mkboot a: bootrom
把所在目录里的所有文件名(全路径)保存到filelist.txt文件里
dir /b/s/p/w *.* > filelist.txt
vs工程的清理文件
#-*- coding:utf-8 -*- #v1.0版本,2013.10.1 import os import string def del_files(dir,topdown=True): for root, dirs, files in os.walk(dir, topdown): for name in files: if os.path.getsize((os.path.join(root, name)))>204800: #大于100K的文件 print(os.path.join(root, name)) print "delete..... " os.remove(os.path.join(root, name)) print "delete complicated" for dirname in dirs: try: os.rmdir(os.path.join(root, dirname)) except (WindowsError): pass # print(os.path.getsize((os.path.join(root, name)))) dir = os.getcwd() del_files(dir)
#-*- coding:utf-8 -*- import os import string def del_files(dir,topdown=True): for root, dirs, files in os.walk(dir, topdown): for name in files: pathname = os.path.splitext(os.path.join(root, name)) if (pathname[1] != ".cpp" and pathname[1] != ".vcproj" and pathname[1] != ".sln" and pathname[1] != ".hpp" and pathname[1] != ".h" and pathname[1] != ".vsprops" and pathname[1] != ".py"): os.remove(os.path.join(root, name)) #print(os.path.join(root,name)) dir = os.getcwd() print(dir) del_files(dir) #will delete the file after run #print os.listdir(dir) #os.removedirs(dir) #delete the empty directory recursively #for dirname in os.listdir(dir): # if os.path.isdir(dirname): # os.removedirs(dirname)
vxworks安装教程
1.按文件“tornado安装详解”的要求进行tornado安装 2.安装到"register tornado.exe ..." 就卡住了,没响应了,任务管理器中把Tornado.exe这个进程杀掉,安装可以继续。 4.安装完成后用提供的win7专用替换文件替换安装目录的相应文件,(建议先删除,在粘贴,因为这几个文件名为大写,直接粘贴出现过原文件还在的情况)