Hi Guys,
I need a little help with this one, basically, i need to know how to pass the currently selected file to an exe for processing.
The purpose of my request - to be able to select a rar file within a folder, click the button and have it extract the contents to the current directory, maintaining internal folder/path structure within the RAR file.
so, utilising the help found here...
http://acritum.com/software/manuals/winrar/ I have the following......
"%SystemDrive%\Program Files\WinRAR\WinRAR.exe" x *.rar *.*
where "x" is the unpack instruction
*.rar limits the extraction process to RAR files - this is only needed because currently i can't identify a single file/file set, for extraction, and wihtout this it tries to extract from par2 files and srr files !!
*.* tells it all fiels in the archive.
now, ideally i'd like it to delete the rar files once unpacked without error, but i'll get to that later, as i will the drop down menu choice of extract here or extract to folder named as per the archive.
For now, i need to work out how to send only the file i want unpacking to WinRAR, i was thinnking it would be somethig like this
"%SystemDrive%\Program Files\WinRAR\WinRAR.exe" x
<selection> *.*
whereby the "selection" would be the full path and filename of the RAR file i want unpacking.....
anyone know how to do this ?