How do I run a command when opening cmd.exe with shortcut?
Fresh3 days ago
Mar 15, 202610418 viewsConfidence Score0%
0%
Problem
I'd like to change the encoding of the command prompt when being opened rather than typing the command at the start of my session each time. Below is the command I enter each time the command prompt starts now: How can I have this command run automatically when opening with the shortcut?
Error Output
chcp 1252
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 run a command when opening cmd.exe with shortcut?
Low Risk
In the target box of your shortcut, use This should run your program and leave the cmd window up when complete
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix