RE: insert .reg files

2010-09-03 Thread Aaron Mackley
Yep. Found it. Thanks you very much. Aaron Mackley | QA Engineering | Digital Technology International | 801-853-5000 | aaron.mack...@dtint.com Transform profitably with our new Targeted Audience Solutions and DTI Cloud. Get started at www.dtint.com. -Original Message- From: Nikla

Re: insert .reg files

2010-09-03 Thread Niklas Matthies
On Fri 2010-09-03 at 17:27h, Aaron Mackley wrote on user: : > I had thought so as well, but it returned this error: > > C:\Ant\cacheInstall.xml:116: Execute failed: java.io.IOException: Cannot run > pro > gram "appInstallers\CacheODBCDriver\odbcCacheInstrINI.reg": CreateProcess > error= > 193, %

RE: insert .reg files

2010-09-03 Thread Aaron Mackley
I found the solution. I needed to enter the cmd and then the reg path. Of course I also need to make not require confirmation, but that's fairly simple. Aaron Mackley | QA Engineering | Digital Technology International | 801-853-5000 | aaron.mack...@dtint.com Transfo

RE: insert .reg files

2010-09-03 Thread Aaron Mackley
Hello Vimil, Thanks foryour response. I had thought so as well, but it returned this error: C:\Ant\cacheInstall.xml:116: Execute failed: java.io.IOException: Cannot run pro gram "appInstallers\CacheODBCDriver\odbcCacheInstrINI.reg": CreateProcess error= 193, %1 is not a valid Win32 application,

Re: insert .reg files

2010-09-03 Thread Vimil Saju
I think you could use the exec task to execute the command that you normally use on the command prompt to import the .reg file into the registry --- On Fri, 9/3/10, Aaron Mackley wrote: From: Aaron Mackley Subject: insert .reg files To: user@ant.apache.org Date: Friday, September 3, 2010, 2:47

insert .reg files

2010-09-03 Thread Aaron Mackley
Is there a simply way to "execute" a .reg file using ANT. I understand there is a plugin called orangevolt that allows one to edit the registry. I only want to install a .reg file. Aaron Mackley | QA Engineering | Digital Technology International | 801-853-5000 | aaron.mack...@dtin

Re: How to get the last folder name?

2010-09-03 Thread P.N.
Thank You! Works fine, now!!! Regards Peter Matt Benson schrieb: On Sep 3, 2010, at 9:45 AM, P.N. wrote: Thank You! Works partly, as it returns the last child in the last subfolder instead of the last direct child. Also, seems not to be the correct element for matches (e.g. "xy*"). T

Re: How to get the last folder name?

2010-09-03 Thread Matt Benson
On Sep 3, 2010, at 9:45 AM, P.N. wrote: > Thank You! Works partly, as it returns the last child in the last subfolder > instead of the last direct child. > > Also, seems not to be the correct element for matches (e.g. "xy*"). > To get directories only, use a dirset. To get direct children o

Re: How to get the last folder name?

2010-09-03 Thread P.N.
Thank You! Works partly, as it returns the last child in the last subfolder instead of the last direct child. Also, seems not to be the correct element for matches (e.g. "xy*"). Regards Peter Matt Benson schrieb: Your example should work if you only use ${toString:_lastname}. References

Re: How to get the last folder name?

2010-09-03 Thread Matt Benson
Your example should work if you only use ${toString:_lastname}. References are not properties. HTH, Matt On Sep 3, 2010, at 9:27 AM, P.N. wrote: > > Hello! > > I want to get the path to the last child folder in some parent directory. > Tried this: > > > >

How to get the last folder name?

2010-09-03 Thread P.N.
Hello! I want to get the path to the last child folder in some parent directory. Tried this: Doesn't work :-( I'd also like to get the last one of a collection of folders, e.