FOR /L %%a IN (%1,1,%2) DO IF %%a LSS 10 (MD OEM-182%30%%a) ELSE MD OEM-182%3%%a
會產生 OEM-182xx的資料夾
使用時在愈操作目錄下執行
>newFolder.bat 1 10
會產生
OEM-18201
.....
OEM-18210個資料夾
FOR /L %%a IN (%1,1,%2) DO IF %%a LSS 10 (MD OEM-182%30%%a) ELSE MD OEM-182%3%%a
conda install python=3.6
系統會問你是否要降版,選y
我的電腦在降級完成,顯示done之後promt就卡住
這時候可以開啟另一個prompt,輸入
python --version
確認python的版本
或是可以透過Anaconda Navigator
在Environment頁籤中新增,在新增時可以選擇python版本
int x = foo(); /* This is a comment This is not code Continuation of comment */
int y = bar();
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js?skin=desert""></script>
<pre class="prettyprint linenums">int x = foo(); /* This is a comment This is not code Continuation of comment */ <span class="pre-highborder"> int y = bar();</span> </pre>需要特別注意的是,最好不要直接把程式碼貼進HTML中,而最好是先在 "Compose" 頁面中將code貼上,在切換到"HTML"頁面去加上<pre>...</pre>的tag, 不然程式碼中如果包含特殊字元(通常都有包含)顯示就會跟內容來源不一樣
<style type='text/css'> .pre-highborder{ border: 1px solid #ff0000; padding: 3px 3px 3px 0; }</style>
<style type='text/css'> pre.prettyprint{ width: auto; overflow: auto; max-height: 600px } </style>參考資料
<style type='text/css'> /*each line*/ li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 { margin: 0 !important; list-style-type:decimal !important; border-left: 1px solid #999; background-color: #4f4f4f !important; } ol.linenums { background-color: #3f3f3f !important;; margin-left: 10px; }</style>
@echo off
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~3*.mum >List.txt
dir /b %SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~3*.mum >>List.txt
for /f %%i in ('findstr /i . List.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
pause
參考網頁,裡面有win10的gpedit可以下載