editing a received value

  • Thread starter Thread starter jacy.york
  • Start date Start date
J

jacy.york

Does anyone know how to detect the final character in a variable.
I am trying to pass a path from the registry to a command prompt
however the format of the registry value contains an invalid character
for the batch process I'm trying to run. Does anyone know how I can
detect the value and change it to a valid format.
 
Is your question how to change the last character of a string, or how to
detect characters in a string that the command prompt will have difficulties
parsing?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top