Dism是微软开发出来的 |
这个也不是微软官方的啊 |
DISM处理脚本,欢迎大家学习 |
看到这一段,我就笑了,一个时间截取,在附值时前面加一个1 再运算符减一百把1消灭,来扰别人的视觉,有意思吗? 当结束时间小于开始时间,秒借分,分减一,分借时,时减一,写出来一大篇 实际是花哨 整篇批处理下来,起作用就那么几个命令,搞得七哩八哩一大堆 |
用某些编译程序打开,里面一般会有支持文件名单 |
添加dism.exe命令正常运行的dll和dll.mui的支持文件 |
关于如何添加dism.exe命令正常运行的dll和dll.mui文件,用破解编译程序打开dism.exe,在里面会有支持文件 |
这年头发表点什么都招人说,免费提供不说,还要被指手画脚,坑爹啊 |
不喜勿喷,等我火了,kcyou不要下载我的东西 |
99%的软件文件都是微软的东西,你叫我怎么命名吗,就像一台小米手机,它是由小米设计的,交给富士康安装,但他还是就小米手机,而不是富士康手机,微软的DISM,软件文件和命令都是人家设计好的,由我们来装卸,它当然是。。。,当然装卸方法很多 |
这种开发不同于第三方软件 |
我也不解释那么多了,我觉得它就应该叫Microsoft Windows DISM |
所有命令是人家开发的设好的,我们只属于调度 |
而且所有命令都是人家设好的,我们只不过输入而已,批处理就是逐步输入 |
是基于微软官方工具dism |
指来自于微软官方的dism工具,dism.exe,非第三方软件,批处理只不过是它的命令及用法 |
开发作者是懒得勤快大师跟微软官方啥关系?? |
到3楼终于看见要的效果了 |
看不懂了,看来还的学习呀。 |
这个看着头疼 |
支持一个,学习了![]() |
嗯![]() |
感谢分享……学习了! |
CLS MODE con: COLS=40 LINES=7 echo 您当前的操作系统无法正常地运行这个程序或功能,请在NT6.2及更高版本的系统上运行这个程序! goto exit :timecalc echo. echo 处理完成...... echo. call :time_end echo 操作完成,映像导出过程耗时%hour%小时%minute%分%second%秒,请按任意键退出. goto exit :formatfail echo 格式化失败,请手动格式化该分区后重新运行该程序,请按任意键退出. goto exit :error echo. echo 程序发生错误,请参考上面显示的信息进行解决,请按任意键退出. :exit pause >nul exit :windows7 echo 检测到部署的目标系统是Windows7,安装程序还需要进行后续处理,请稍候...... if exist %tar%:\windows\syswow64 (set ARCH=64) else (set ARCH=32) if not exist %tar%:\windows\system32\drivers\wofadk.sys copy /y wofadk%arch%.sys %tar%:\windows\system32\drivers\wofadk.sys >nul 2>nul if not exist %tar%:\windows\system32\drivers\wof.sys copy /y wof.sys %tar%:\windows\system32\drivers\wof.sys >nul 2>nul reg load HKLM\temp %tar%:\Windows\System32\config\SYSTEM >nul 2>nul reg add "HKLM\temp\ControlSet001\services\Wof" /f /v "DisplayName" /t REG_SZ /d "Windows Overlay File System Filter Driver" >nul 2>nul reg add "HKLM\temp\ControlSet001\services\Wof" /f /v "ErrorControl" /t REG_DWORD /d 1 >nul 2>nul reg add "HKLM\temp\ControlSet001\services\Wof" /f /v "Group" /t REG_SZ /d "FSFilter Compression" >nul 2>nul reg add "HKLM\temp\ControlSet001\services\Wof" /f /v "Start" /t REG_DWORD /d 0 >nul 2>nul reg add "HKLM\temp\ControlSet001\services\Wof" /f /v "Type" /t REG_DWORD /d 2 >nul 2>nul reg add "HKLM\temp\ControlSet001\services\Wof" /f /v "DependOnService" /t REG_MULTI_SZ /d "FltMgr" >nul 2>nul reg add "HKLM\temp\ControlSet001\services\Wof\Instances" /f /v "DefaultInstance" /t REG_SZ /d "Wof Instance" >nul 2>nul reg add "HKLM\temp\ControlSet001\services\Wof\Instances\Wof Instance" /f /v "Altitude" /t REG_SZ /d "40700" >nul 2>nul reg add "HKLM\temp\ControlSet001\services\Wof\Instances\Wof Instance" /f /v "Flags" /t REG_DWORD /d 0 >nul 2>nul reg add "HKLM\temp\ControlSet002\services\Wof" /f /v "DisplayName" /t REG_SZ /d "Windows Overlay File System Filter Driver" >nul 2>nul reg add "HKLM\temp\ControlSet002\services\Wof" /f /v "ErrorControl" /t REG_DWORD /d 1 >nul 2>nul reg add "HKLM\temp\ControlSet002\services\Wof" /f /v "Group" /t REG_SZ /d "FSFilter Compression" >nul 2>nul reg add "HKLM\temp\ControlSet002\services\Wof" /f /v "Start" /t REG_DWORD /d 0 >nul 2>nul reg add "HKLM\temp\ControlSet002\services\Wof" /f /v "Type" /t REG_DWORD /d 2 >nul 2>nul reg add "HKLM\temp\ControlSet002\services\Wof" /f /v "DependOnService" /t REG_MULTI_SZ /d "FltMgr" >nul 2>nul reg add "HKLM\temp\ControlSet002\services\Wof\Instances" /f /v "DefaultInstance" /t REG_SZ /d "Wof Instance" >nul 2>nul reg add "HKLM\temp\ControlSet002\services\Wof\Instances\Wof Instance" /f /v "Altitude" /t REG_SZ /d "40700" >nul 2>nul reg add "HKLM\temp\ControlSet002\services\Wof\Instances\Wof Instance" /f /v "Flags" /t REG_DWORD /d 0 >nul 2>nul reg add "HKLM\temp\ControlSet001\Control\WMI\Autologger\EventLog-s\{46c78e5c-a213-46a8-8a6b-622f6916201d}" /f /v "Enabled" /t REG_DWORD /d 1 >nul 2>nul reg add "HKLM\temp\ControlSet001\Control\WMI\Autologger\EventLog-s\{46c78e5c-a213-46a8-8a6b-622f6916201d}" /f /v "EnableLevel" /t REG_DWORD /d 0 >nul 2>nul reg add "HKLM\temp\ControlSet001\Control\WMI\Autologger\EventLog-s\{46c78e5c-a213-46a8-8a6b-622f6916201d}" /f /v "LoggerName" /t REG_SZ /d "EventLog-System" >nul 2>nul reg add "HKLM\temp\ControlSet001\Control\WMI\Autologger\EventLog-s\{46c78e5c-a213-46a8-8a6b-622f6916201d}" /f /v "MatchAnyKeyword" /t REG_QWORD /d 128 >nul 2>nul reg add "HKLM\temp\ControlSet001\Control\WMI\Autologger\EventLog-s\{46c78e5c-a213-46a8-8a6b-622f6916201d}" /f /v "MatchAllKeyword" /t REG_QWORD /d 0 >nul 2>nul reg add "HKLM\temp\ControlSet001\Control\WMI\Autologger\EventLog-s\{46c78e5c-a213-46a8-8a6b-622f6916201d}" /f /v "EnableProperty" /t REG_DWORD /d 1 >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\EventLog\temp\Microsoft-Windows-OverlayFilter" /f /v "ProviderGuid" /t REG_SZ /d "{46c78e5c-a213-46a8-8a6b-622f6916201d}" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\EventLog\temp\Microsoft-Windows-OverlayFilter" /f /v "EventMessageFile" /t REG_EXPAND_SZ /d "%%SystemRoot%%\system32\drivers\wof.sys" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\Wof" /f /v "DisplayName" /t REG_SZ /d "Windows Overlay File System Filter Driver" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\Wof" /f /v "ErrorControl" /t REG_DWORD /d 1 >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\Wof" /f /v "Group" /t REG_SZ /d "FSFilter Compression" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\Wof" /f /v "Start" /t REG_DWORD /d 0 >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\Wof" /f /v "Type" /t REG_DWORD /d 2 >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\Wof" /f /v "DependOnService" /t REG_MULTI_SZ /d "FltMgr" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\Wof\Instances" /f /v "DefaultInstance" /t REG_SZ /d "Wof Instance" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\Wof\Instances\Wof Instance" /f /v "Altitude" /t REG_SZ /d "40700" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\Wof\Instances\Wof Instance" /f /v "Flags" /t REG_DWORD /d 0 >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk" /f /v "DebugFlags" /t REG_DWORD /d 0 >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk" /f /v "DependOnService" /t REG_MULTI_SZ /d "FltMgr" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk" /f /v "Discription" /t REG_SZ /d "WofAdk Mini-Filter Driver" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk" /f /v "DisplayName" /t REG_SZ /d "WofAdk" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk" /f /v "ErrorControl" /t REG_DWORD /d 1 >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk" /f /v "Group" /t REG_SZ /d "FSFilter Compression" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk" /f /v "ImagePath" /t REG_EXPAND_SZ /d "\SystemRoot\system32\drivers\WofAdk.sys" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk" /f /v "AutoAttach" /t REG_DWORD /d 1 >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk" /f /v "Start" /t REG_DWORD /d 0 >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk" /f /v "SupportedFeatures" /t REG_DWORD /d 3 >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk" /f /v "Tag" /t REG_DWORD /d 2 >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk" /f /v "Type" /t REG_DWORD /d 2 >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk\Instances" /f /v "DefaultInstance" /t REG_SZ /d "WofAdk Instance" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk\Instances\WofAdk Instance" /f /v "Altitude" /t REG_SZ /d "40730" >nul 2>nul reg add "HKLM\temp\ControlSet001\Services\WofAdk\Instances\WofAdk Instance" /f /v "Flags" /t REG_DWORD /d 0 >nul 2>nul reg unload HKLM\temp >nul 2>nul goto :eof :time_start set _time_start=%time% set /a hour_start=%_time_start:~0,2% set /a minute_start=1%_time_start:~3,2%-100 set /a second_start=1%_time_start:~6,2%-100 goto :eof :time_end set _time_end=%time% set /a hour_end=%_time_end:~0,2% set /a minute_end=1%_time_end:~3,2%-100 set /a second_end=1%_time_end:~6,2%-100 if %second_end% lss %second_start% ( set /a second_end=%second_end%+60 set /a minute_end=%minute_end%-1 ) set /a second=%second_end%-%second_start% if %minute_end% lss %minute_start% ( set /a minute_end=%minute_end%+60 set /a hour_end=%hour_end%-1 ) set /a minute=%minute_end%-%minute_start% if %hour_end% lss %hour_start% ( set /a hour_end=%hour_end%+24 ) set /a hour=%hour_end%-%hour_start% |
Powered by Discuz! X3.3
© 2001-2017 Comsenz Inc.