DOS command to find node_modules

USE the following command to list all node_modules

FOR /d /r . %d IN (node_modules) DO @IF EXIST "%d" ECHO %d"

USE the following command to Remove all node_modules directory

FOR /d /r . %d IN (node_modules) DO @IF EXIST "%d" RMDIR "%d" /S/Q

About Pankaj

I am a Developer and my linked profile is https://www.linkedin.com/in/pankajsurti/
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s