|
#1
|
|||
|
|||
|
Let User Add Subfolder to SFX Extract Folder
An earlier version of the program let me add a subfolder to the default Temp folder PA extracts an SFX file to. As it is PA dumps all the files into the top level Temporary folder and, in my opinion, makes a mess.
Also, I have occasion to ask users of my product to find a particular file in the extracted set. It makes this much easier if they are all in a unique folder with a name of my choosing. If this feature exists please point me to it. |
|
#2
|
||||
|
||||
|
did you try %temp%\name?
(check for actual alias usage in help file, been while since i checked that out)... it should work fine!
__________________
ConeXware, Inc. latest PA release info on Facebook, Twitter | Follow us and win free PowerArchiver. |
|
#3
|
|||
|
|||
|
That's how the older version I was using worked. In the current version the extract location is chosen from a dropdown and you can only choose from fixed options. None of these three options has a subfolder.
![]() Quote:
Last edited by i_am_jim; 10-16-2010 at 04:39 PM. Reason: kkk |
|
#4
|
|||
|
|||
|
Another way to do this is to use the archive name as the subfolder name.
I can see the possibility of conflicts this way but it most probably works. Last edited by i_am_jim; 10-16-2010 at 04:58 PM. Reason: kkk |
|
#5
|
||||
|
||||
|
here is the help:
conext sensitive help (press help in Make SFX window): Quote:
Quote:
__________________
ConeXware, Inc. latest PA release info on Facebook, Twitter | Follow us and win free PowerArchiver. |
|
#6
|
||||
|
||||
|
check example here
__________________
ConeXware, Inc. latest PA release info on Facebook, Twitter | Follow us and win free PowerArchiver. |
|
#7
|
|||
|
|||
|
Okay. I think I've got it. It never dawned on me you could type in the dropdown items. And even if it did I wouldn't have thought it understood relative paths.
Thanks very much for your help. But, that leads to a new question. A caution in this help area says: Quote:
I don't understand what a {p} option is. If my extract-to folder is FOOBAR it looks like I would use: Default UnZip To folder: %temp%\FOOBAR Run Command Line: setup.exe But, I don't see how that's added any {p} option? |
|
#8
|
||||
|
||||
|
if you do just setup.exe, it will run setup.exe and thats it. If will run whatever is first setup.exe on that system in system path... if you do {p}\setup.exe, it will actually run %temp%\FOOBAR\setup.exe.
__________________
ConeXware, Inc. latest PA release info on Facebook, Twitter | Follow us and win free PowerArchiver. |
|
#9
|
|||
|
|||
|
deleted
|
|
#10
|
||||
|
||||
|
no, you can add it if you want.. it doesnt add it automatically, it is optional and up to you.
so use {p}\setup.exe and it should be fine.
__________________
ConeXware, Inc. latest PA release info on Facebook, Twitter | Follow us and win free PowerArchiver. |
|
#11
|
|||
|
|||
|
I'm still not sure I get it.
If I use: Default UnZip To folder: %temp%\FOOBAR Run Command Line: setup.exe It will run setup.exe in the %temp%\FOOBAR folder. But, if I use {p}\setup.exe it will do something else??? All I use PA for is to dump the files in a folder named FOOBAR under the default Temp directory and start Setup.exe in the folder FOOBAR and quit. Setup does the rest. |
|
#12
|
||||
|
||||
|
Default UnZip To folder: %temp%\FOOBAR
Run Command Line: {p}\setup.exe is what you should use... it runs specific path command line to where your executable is.
__________________
ConeXware, Inc. latest PA release info on Facebook, Twitter | Follow us and win free PowerArchiver. |
|
#13
|
||||
|
||||
|
p.s. just try it yourself and see if it works fine for you!
__________________
ConeXware, Inc. latest PA release info on Facebook, Twitter | Follow us and win free PowerArchiver. |
|
#14
|
|||
|
|||
|
That's what's confusing. Not using (leaving out) the {p} seems to work fine. If I just use setup.exe, PA creates the subfolder and extracts the files into it and launches setup.
Thank you very much for all your help. I still wish I could understand how adding the {p} is different than not adding it. |
|
#15
|
|||
|
|||
|
I think the problem is the example in manual is wrong since it doesn't use the {p} option but is supposed to be an example of how to use the {p} option.
I found this incredibly hard to decipher, and really don't understand why SFX wouldn't run the command line in the root extracted folder, especially when you set something like the default extract to temp folder. This could do with a lot of improvement, and better documentation. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Direct extract without temp folder | masu | Wishlist | 20 | 05-11-2009 06:43 PM |
| Shell Option "Extract to subfolder" hangs PA | TBGBe | Tech Support | 3 | 11-20-2007 08:03 AM |
| How do I: extract to file name, multiple archives in a user defined directory | wulffra | General | 13 | 03-13-2005 06:17 AM |