FG
💻 Software

How do I execute a batch file in an alternate data stream in Windows 7?

Fresh7 days ago
Mar 15, 20265031 views
Confidence Score0%
0%

Problem

Normally, after creating an executable as an alternate data stream, for instance: one could simply say to run the executable. In Windows 7, all I seem to get is "Access is denied." or "The system cannot find the file $WHATEVER_THE_FILE_IS." How can I execute this batch file?

Error Output

type exec_this.bat > C:\blank.txt:exe.bat

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How do I execute a batch file in an alternate data stream in Windows 7?

Low Risk

Windows 7 silently removed the ability to execute anything from an ADS. However, from the DOS command line, there are other options. For a batch file, you can execute line by line: (Keep in mind, this does not actually execute the batch file into it…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment