Unable to Build/deploy code

The old code that we have works fine, on the 6.0.1 wplib, this years code does not work and shoots out this error -
‘gradlew’ is not recognized as an internal or external
command,
operable program or batch file.
The terminal process terminated with exit code: 1

It is not recognized in the control panel either when i look for it. Anyone have any help?
-Thanks

gradlew/gradlew.bat is the gradle startup script. A likely cause for that issue is that you’re not in the correct directory.

Also, 6.0.1 is the Gradle version that GradleRIO uses and has been using for at least two years - anything else is unsupported and won’t work. The WPILib versioning scheme is YEAR.major.minor and appears in the GradleRIO line of your build.gradle.

Have you imported your project for 2021? Are you running in the root directory of the imported version of the project?