Search found 2 matches

by ian2000t
24 Apr 2010 17:55
Forum: DOS Batch Forum
Topic: Using a Variable to trim another variable?
Replies: 3
Views: 5338

Re: Using a Variable to trim another variable?

Excellent, had to take off a % from each end and it worked fine!
Thanks for that!
by ian2000t
24 Apr 2010 17:35
Forum: DOS Batch Forum
Topic: Using a Variable to trim another variable?
Replies: 3
Views: 5338

Using a Variable to trim another variable?

Hi, hope you can help me with this... hopefully should be an easy one! I'm trying to write a batch file but I'm having problem trying to use the VALUE of a Variable in a 'Trim' function. I have variable "BackupDir" which needs right-trimming by x amount. Amount x is defined by a variable &...