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

MyMemoWiki

スクリプト(Win)

提供: MyMemoWiki
ナビゲーションに移動 検索に移動

Windows | Powershell |

スクリプト(Win)

バッチコマンドメモ

Tips

CMD.EXEとWSL組み合わせて利用する

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
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