Excellent, had to take off a % from each end and it worked fine!
Thanks for that!
Search found 2 matches
- 24 Apr 2010 17:55
- Forum: DOS Batch Forum
- Topic: Using a Variable to trim another variable?
- Replies: 3
- Views: 5355
- 24 Apr 2010 17:35
- Forum: DOS Batch Forum
- Topic: Using a Variable to trim another variable?
- Replies: 3
- Views: 5355
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 &...