RAR.exe (version 7.01 x64) won't start with the error "ERROR: '-' is expected in the beginning of: C:\Program Files\WinRAR\RAR.exe" from Command Prompt #22007

Open
opened 2026-01-31 08:00:42 +00:00 by claunia · 0 comments
Owner

Originally created by @gschizas on GitHub (Jul 25, 2024).

Windows Terminal version

1.21.1772.0

Windows build number

10.0.22631.3880

Other Software

rar.exe version 7.01 x64 (from win-rar.com

Steps to reproduce

  1. Download WinRAR from https://www.win-rar.com/.
  2. Open Command Prompt
  3. Run "C:\Program Files\WinRAR\Rar.exe" (or cd "C:\Program Files\WinRAR" and then run Rar.exe)

Expected Behavior

Expected to see the help text (command line switches) for RAR.exe

Actual Behavior

I'm getting "ERROR: '-' is expected in the beginning of: C:\Program Files\WinRAR\RAR.exe"

Originally created by @gschizas on GitHub (Jul 25, 2024). ### Windows Terminal version 1.21.1772.0 ### Windows build number 10.0.22631.3880 ### Other Software rar.exe version 7.01 x64 (from [win-rar.com](https://www.win-rar.com/) ### Steps to reproduce 1. Download WinRAR from https://www.win-rar.com/. 2. Open Command Prompt 3. Run `"C:\Program Files\WinRAR\Rar.exe"` (or `cd "C:\Program Files\WinRAR"` and then run `Rar.exe`) ### Expected Behavior Expected to see the help text (command line switches) for RAR.exe ### Actual Behavior I'm getting "ERROR: '-' is expected in the beginning of: C:\Program Files\WinRAR\RAR.exe"
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 08:00:42 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22007