FG
💻 Software

How can I determine whether a Windows XP cmd variable ends with a given string?

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

Problem

I want to check on whether the last character(s) of an environment variable are or . How can I do this in Windows XP SP3?

Error Output

\

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I determine whether a Windows XP cmd variable ends with a given string?

Low Risk

To use substrings: You replace the number before the % sign to alter how many characters it checks at the end of the string.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment