FG

Why does 7-zip.exe return "Access is denied" with these arguments/parameters?

Fresh3 days ago
Mar 15, 2026128259 views
Confidence Score0%
0%

Problem

In a batch file: Or, alone on the cmd as: returns "Access is denied". I would expect it to run 7-zip with the specified parameters. Why doesn't it? Here is the code for the batch file: This doesn't happen if proper syntax is followed for the z-zip command. Access is Denied was due to a 7zip syntax …

Error Output

START "7-zip" /D "C:\Program Files\7-Zip\" "7z.exe" a -o <F:> testArchive F:\test

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Why does 7-zip.exe return "Access is denied" with these arguments/parameters?

Low Risk

Check the permissions of the 7za.exe program itself; Right click -> Properties -> Security -> (choose a user) And check that Read & Execute is ticked. On my machine, I had Read access but not Execute.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment