Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BEWARE! cmd is broken beyond belief... #21

Open
xparq opened this issue Mar 22, 2023 · 1 comment
Open

BEWARE! cmd is broken beyond belief... #21

xparq opened this issue Mar 22, 2023 · 1 comment

Comments

@xparq
Copy link
Owner

xparq commented Mar 22, 2023

I know right?... Wrong!

Given an existing file.msvc:

if exist *.msvc echo ok -> ok
if exist *.ms echo ok -> nothing
if exist *.msv echo ok -> ok

@xparq
Copy link
Owner Author

xparq commented Mar 22, 2023

nmake /f nonexistent || echo NOT OK: %ERRORLEVEL% - > NOT OK: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant