mgm1965 Posted April 11, 2009 Report Share Posted April 11, 2009 I'm using (well.. trying to use) Ketarin to maintain the list of my used application, and I want create a batch file with the name of the last downloaded version in the same directory of the application. So I can configure the good WPI (www.wpiw.net) interface only one time to use as target the command file. Let me explain with an example. I'm using a directory structure like this: H:\WPI\Install\Internet\eMule\ and in the directory I would have: eMule0.46b-Installer.exe <--- old version eMule0.48a-Installer.exe <--- old version eMule0.49c-Installer.exe <--- current version emule.cmd <--- batch file to launch the current version In the commands tab of Ketarin I wrote in the "Execute after downloading" echo {file} >> {root}{dirbase}\{category}\{appname}\{appname}.cmd But this is absolute and not relative so is not possible to burn a CD and use WPI to reinstall all my software. I have tried to use {url:ext} or {url:basefile} but it seems that they are empty when called in the post-processing Please give me any advice you know. Thank you Marco (Italy) Link to comment Share on other sites More sharing options...
floele Posted April 11, 2009 Report Share Posted April 11, 2009 I'm not sure what your problem actually is. Is it that {file} contains an absolute and not relative (relative to what?) path? Link to comment Share on other sites More sharing options...
mgm1965 Posted April 12, 2009 Author Report Share Posted April 12, 2009 I want write: eMule0.49c-Installer.exe in the file: emule.cmd in the same directory in which I have downloaded the application. Thank Link to comment Share on other sites More sharing options...
floele Posted April 12, 2009 Report Share Posted April 12, 2009 There already is a function "directory", I guess that I'll add "filename", then you can extract both parts. Link to comment Share on other sites More sharing options...
mgm1965 Posted April 12, 2009 Author Report Share Posted April 12, 2009 Thank you Marco Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now