Downloading archives and relative paths
Posted: 16 Apr 2011 13:17
I'm trying to make a script/button which could download new file updates from different webistes and one request is also to extract archives to different locations. But I faced with several problems.
1) I'm using such command:
download "http://www.website.com/downloads/stuff.exe", "..\..\downloads\stuff (<date yyyy-mm-dd>).exe"
download "http://www.newsite.com/stuff.rar", "..\..\otherdownloads\stuff (<date yyyy-mm-dd>).rar"
If running this command it gives me kind of pop-up menu which forces me choose which one I want download (command selection). How can I set it such way that it would automatically run both commands?
2) Other problem what I discovered is that it is dependent on which drive and folder I am currently. In some situations it says folder not found becuase it will double some folders in pathways (ie. \downloads\downloads\). How can I use relative paths starting from XYplorer folder no matter which hard drive and folder is currently selected?
3) When first two are fixed then I need additional command for some archive files which would download file, extracts its content to specified folder and then deletes archive file itself.
Thanks in advance
1) I'm using such command:
download "http://www.website.com/downloads/stuff.exe", "..\..\downloads\stuff (<date yyyy-mm-dd>).exe"
download "http://www.newsite.com/stuff.rar", "..\..\otherdownloads\stuff (<date yyyy-mm-dd>).rar"
If running this command it gives me kind of pop-up menu which forces me choose which one I want download (command selection). How can I set it such way that it would automatically run both commands?
2) Other problem what I discovered is that it is dependent on which drive and folder I am currently. In some situations it says folder not found becuase it will double some folders in pathways (ie. \downloads\downloads\). How can I use relative paths starting from XYplorer folder no matter which hard drive and folder is currently selected?
3) When first two are fixed then I need additional command for some archive files which would download file, extracts its content to specified folder and then deletes archive file itself.
Thanks in advance