💻 Software
Is there something like Command Substitution in Windows CLI?
Fresh6 days ago
Mar 15, 202626066 viewsConfidence Score0%
0%
Problem
In Linux (Bash), there's a way to use a command as a parameter for another command, using back-ticks: This would print: ===== The current time is: 12:22:34.68 ===== Is there a way to do this in cmd.exe on WIndows ?
Error Output
> echo ===== `time` =====
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Is there something like Command Substitution in Windows CLI?
Low Risk
Try this: I know this may not be what you want, because you mentioned command substitution... So this may be it: For more details about the usage of try this command:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix