| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
1,035 バイト追加 、 2022年3月20日 (日) 03:29
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
</pre>
 
===CMD.EXEと組み合わせて利用する===
<pre>
C:\Users\piroto>dir | wsl -- grep 'm'
Volume in drive C has no label.
Volume Serial Number is 06DD-9634
2022/02/03 23:45 <DIR> .templateengine
2022/02/03 22:19 <DIR> Documents
2021/10/22 00:38 <DIR> Saved Games
</pre>
 
<pre>
C:\Users\piroto\Documents>wsl -- ls -al
total 0
drwxrwxrwx 1 piroto piroto 4096 Feb 3 22:19 .
drwxrwxrwx 1 piroto piroto 4096 Feb 3 22:55 ..
-rwxrwxrwx 1 piroto piroto 0 Oct 28 19:42 Default.rdp
drwxrwxrwx 1 piroto piroto 4096 Feb 3 17:54 IISExpress
lrwxrwxrwx 1 piroto piroto 25 Oct 22 00:37 'My Music' -> /mnt/c/Users/piroto/Music
lrwxrwxrwx 1 piroto piroto 28 Oct 22 00:37 'My Pictures' -> /mnt/c/Users/piroto/Pictures
lrwxrwxrwx 1 piroto piroto 26 Oct 22 00:37 'My Videos' -> /mnt/c/Users/piroto/Videos
drwxrwxrwx 1 piroto piroto 4096 Feb 3 17:54 'My Web Sites'
drwxrwxrwx 1 piroto piroto 4096 Feb 3 23:12 'Visual Studio 2022'
-rwxrwxrwx 1 piroto piroto 402 Oct 22 00:38 desktop.ini
</pre>
 
===WSL2に更新===
*x64 システムの場合:バージョン 1903 以降、ビルド 18362 以上

案内メニュー