Is there a windows equivalent of the Unix backquote operator?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
backquotes
Home » Forums » AskWoody support » Windows » Windows 10 » Windows 10 version 22H2 » backquotes
- This topic has 4 replies, 3 voices, and was last updated 1 month, 2 weeks ago.
Tags: backquote
Viewing 2 reply threadsAuthorReplies-
Rick Corbett
AskWoody_MVP -
berniec
AskWoody Plus
-
b
ManagerThere is no obvious way to read the output of a command into a batch file variable. In unix-style shells, this is done via backquoting.
…
The Windows command processor does not have direct backquoting, but you can fake it by abusing the FOR command. Here’s the evolution:
Windows 11 Pro version 22H2 build 22621.1485 + Microsoft 365 + Edge
berniec
AskWoody PlusViewing 2 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Microsoft PC Manager (beta) updates
by
Alex5723
2 hours, 56 minutes ago -
Ubuntu Cinnamon becomes an official flavor, making Linux Mint obsolete
by
Alex5723
1 hour, 2 minutes ago -
HDMI KVM switch for DP
by
freelab23
8 hours, 47 minutes ago -
My Experience with Win 11 ver 22H2
by
agoldhammer
15 hours, 11 minutes ago -
Email from Mail on my iPhone to Gmail address failed
by
DrRon
14 hours, 39 minutes ago -
Can’t Update Win 10 past 21H2
by
cmndo97
17 hours, 18 minutes ago -
Revo Uninstaller (freeware) Updates
by
Microfix
9 hours, 47 minutes ago -
The Third deployment phase for CVE-2022-37967 starts April 11, 2023
by
Alex5723
17 hours, 46 minutes ago -
Firefox to support Windows 7 and 8 systems well into 2024 at least
by
Alex5723
2 hours, 14 minutes ago -
Microsoft 365 Personal – Repeated Free Two Month Extensions
by
BarryEB
19 hours, 52 minutes ago -
KB5023702 for Server 2019 – Defer as of MPL March 27
by
Aviel
1 hour, 16 minutes ago -
eSIM out, iSIM in?
by
Alex5723
1 day, 3 hours ago -
MS-DEFCON 4: Win11 22H2 not ready for prime time
by
Susan Bradley
35 minutes ago -
Email from Mail on my iPhone to Gmail address failed
by
DrRon
1 day, 5 hours ago -
Microsoft Edge Remover
by
Alex5723
16 hours, 27 minutes ago -
Windows Desktop refreshes repeatedly every few seconds
by
JimT777
43 minutes ago -
Apple zero days fixed today
by
Susan Bradley
1 day ago -
W10 22H2 Desktop rogue icon won’t allow me to rename, delete, or replace it
by
lanshark
1 hour, 1 minute ago -
Footnote separators not deleting
by
Ursula
1 day, 14 hours ago -
Should I Go Beyond Version 21H2
by
kstephens43
6 hours, 3 minutes ago -
MacStealer: New macOS-based Stealer Malware Identified
by
Alex5723
1 day, 13 hours ago -
PowerShell – Testers Needed
by
RetiredGeek
8 hours, 47 minutes ago -
Audio from www.whenradiowas.com stops playing after 7-20 minutes
by
David Pressman
21 hours, 44 minutes ago -
KB4023057: Update for Windows Update Service components
by
RetiredGeek
16 hours, 52 minutes ago -
win 12 as BORG?
by
krism
1 day, 13 hours ago -
Windows 11 — should I stay on Windows 10?
by
DDR
17 hours, 3 minutes ago -
Did I really install PaintShop Pro?
by
Mike Ray
1 day, 13 hours ago -
You’re fired if you don’t know how to use GPT-4
by
B. Livingston
10 hours, 10 minutes ago -
Microsoft 365 Copilot announced
by
Will Fastie
23 hours, 39 minutes ago -
What’s wrong with OneNote — and what you can fix
by
Mary Branscombe
7 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2023 by AskWoody Tech LLC. All Rights Reserved.