Skip to content

Shell Support: Validate and fix CMD (Command Prompt) syntax #14

@KatsuJinCode

Description

@KatsuJinCode

Summary

The CMD/Command Prompt syntax generator is currently untested and has known limitations. CMD has very limited alias support compared to other shells.

What needs testing

  • Batch file syntax is correct
  • IF/ELSE chains work properly
  • DOSKEY commands function as expected
  • Environment variable handling
  • Profile names with special characters are handled
  • Arguments pass through correctly (%*)

Known limitations

CMD doesn't support proper function definitions like other shells. The current implementation uses DOSKEY macros or batch files.

How to help

  1. Generate a command with Smart Install enabled
  2. Try to use it in CMD
  3. Report back:
    • ✅ What worked
    • ❌ What failed (with error messages)
    • 🔧 Suggested fixes or workarounds

Recommendation

Consider using PowerShell instead of CMD for better functionality.

Related

Part of the multi-shell validation effort.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions