1.查打印当前文件夹下的所有node_modules文件夹
FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" echo "%d"
2.删除
FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" rd /s /q "%d"
1.查打印当前文件夹下的所有node_modules文件夹
FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" echo "%d"
2.删除
FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" rd /s /q "%d"