· 1 min read

在 WSL 中访问 Windows 文件系统

WSL 访问windwos内文件

0x00 前言

本文介绍了如何在WSL命令行内访问windows文件夹的方法,在Windows环境下工作是必不可少的。

0x01 正文

## If you want access the C:\
cd /mnt/c

扩展:将windwos下的文件夹链接到WSL中

# If you want link the local user Documents to the WSL user home dir
cd ~
ln -s /mnt/Users/[local user username]/Documents Documents

0x03 结语

至此,你就完成了在WSL中访问windows内文件的需求。

Back to Blog