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

Update shell_cmds.cpp #4532

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Update shell_cmds.cpp #4532

merged 2 commits into from
Oct 17, 2023

Conversation

maxpat78
Copy link
Contributor

Converts 'do switch' in 'do if'

#Fixes #4531 introduced by internationalization changes.

Following sample batch now works.

@echo on
if not exist ADIR md ADIR
cd ADIR
echo 1 >1.txt
echo 2 >2.txt
echo 3 >3.txt
rem del /p ?.txt
del /p *.*
cd ..

Converts 'do switch' in 'do if'
Add parentheses {} to if (and restores CTRL+C functionality)
@joncampbell123 joncampbell123 merged commit 9faed27 into joncampbell123:master Oct 17, 2023
17 checks passed
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

Successfully merging this pull request may close these issues.

Unreachable code in src/shell/shell_cmds.cpp
2 participants