ComputerForum.com ComputerForum.com  
TigerDirect
 
Go Back   Computer Forum > Computer Software > General Software

Reply
 
LinkBack Thread Tools Display Modes
Old 02-01-2007, 03:19 PM   #1 (permalink)
Platinum Member
 
PC Hobbyist's Avatar
 
Join Date: Jun 2006
Posts: 548
Default Help creating a self-extracting zip file

I want to create self-extracting zip files that will unzip directly into a certain file directory. Here is the situation:
I often send pictures or files to family and friends and I would like for the contents to be unpacked directly into their My Pictures folder (for example).

I want my zipped file to be self-extracted and in the process create a folder (inside My Pictures) called "Christmas photos 2006" where all the contents will be placed.
I can do that in my computer, because I can set the directory for extraction exactly like I have it in my pc. But, other people will have a different user name or will have the My Pictures folder on a different drive. So, is there a "wild-card" entry that I can type for the extraction directory so that it will automatically find that system folder (My Pictures), then create the new folder there and place the contents in that new folder?

I use Winrar or IZArc - but I'm open to freeware archiving programs if they will do what I want here.

Thanks for any help.
__________________

PC Hobbyist is offline   Reply With Quote


Old 02-01-2007, 10:09 PM   #2 (permalink)
Diamond Member
 
PC eye's Avatar
 
Join Date: Apr 2006
Location: Inside a pc
Posts: 19,226
Default

ZIP 2 Secure EXE offers this type of self extracting and predetermined location for later extraction of files. At first it sounded a little off trying to look for one that would auto unpack to a predetermined location. But you still won't be able to use a wild card! Review the information on the freeware at the link here to see if that will still work. http://www.zip-compression.com/zip-self-extractor.asp
PC eye is offline   Reply With Quote
Old 02-02-2007, 01:32 AM   #3 (permalink)
Platinum Member
 
PC Hobbyist's Avatar
 
Join Date: Jun 2006
Posts: 548
Default

Thanks PC eye. I'll check that out and let you know.

I know it sounds a bit weird, but it's just that some of my elderly family members have a hard time unzipping a file and browsing to find the pictures folder to unzip it to etc. and so they end up having a ton of stuff on their desktop. This way, I could just tell them to click on Start - My Pictures and they will see the new folder with the photos I sent them. Anyway, we'll see if that is possible.
__________________

PC Hobbyist is offline   Reply With Quote
Old 02-02-2007, 05:39 AM   #4 (permalink)
Diamond Member
 
PC eye's Avatar
 
Join Date: Apr 2006
Location: Inside a pc
Posts: 19,226
Default

You could setup a special folder where you don't have to worry about user names on different machines. That would one specific set of instructions to work on multiple systems even with more then one user account since it wouldn't be limited by logon accounts and passwords. When they went to a folder you created for this(like one with your first name on it?) the photos you have sent in archives will open right up for easy viewing.
PC eye is offline   Reply With Quote
Old 02-02-2007, 12:29 PM   #5 (permalink)
Platinum Member
 
PC Hobbyist's Avatar
 
Join Date: Jun 2006
Posts: 548
Default

Quote:
Originally Posted by PC eye View Post
You could setup a special folder where you don't have to worry about user names on different machines. That would one specific set of instructions to work on multiple systems even with more then one user account since it wouldn't be limited by logon accounts and passwords. When they went to a folder you created for this(like one with your first name on it?) the photos you have sent in archives will open right up for easy viewing.
Hm, that's not a bad idea. However, the only directory I could think of was
C:\Documents and Settings\All Users\Desktop
because I guess that would put it on everyone's desktop. However, I would prefer it being inside the My Pictures folder, but the only possibility I see is:
C:\Documents and Settings\All Users\Documents\My Pictures
which would put it in the "shared pictures folder". But I honestly think some people would get confused because they don't even know that such a shared folder exists, let alone where it is located and how you access it.

The easiest thing might just be to extract it to everyone's desktop and have them drag it into their pictures folder.

What think you now, Kimosabi?
__________________


Last edited by PC Hobbyist; 02-02-2007 at 12:31 PM.
PC Hobbyist is offline   Reply With Quote


Old 02-02-2007, 12:32 PM   #6 (permalink)
Moderator
 
Cromewell's Avatar
 
Join Date: Dec 2004
Location: Canada
Age: 24
Posts: 10,085
Default

Use Documents and Settings\%USERNAME%\Desktop (or My Pictures or whatever)
__________________

You know what the chain of command is? It's the chain I go get and beat you with 'til ya understand who's in ruttin' command here.

I must plug a couple comics because they are good :D:
www.ctrlaltdel-online.com
www.userfriendly.org
Cromewell is offline   Reply With Quote
Old 02-02-2007, 12:37 PM   #7 (permalink)
Platinum Member
 
PC Hobbyist's Avatar
 
Join Date: Jun 2006
Posts: 548
Default

Quote:
Originally Posted by Cromewell View Post
Use Documents and Settings\%USERNAME%\Desktop (or My Pictures or whatever)
Really? that will work? Is that the "wild card" I have been looking for? I always see that in examples in forums and stuff, but I didn't think it would actually work. Hm, if it does, then you have made my day!

I'll go give it a try. Oh, one question, though. What if the directory for the My Pictures folder is on some other drive? I know the %username% idea wouldn't work there, but I don't know if there is something similar to that, that simply tells the computer - open the system folder "my pictures" or "my documents" wherever it is located.

@ PC eye: no worries, you're still Kimosabi.

UPDATE...................

Ok, I just tried it, but I must have misunderstood you because for example
C:\Documents and Settings\%username%\Desktop
is "nof found" if I try pasting it in explorer. And also, if there are several users on the computer, then who would be chosen?
Yeah, got a little excited there. Well it was nice while it lasted.
__________________


Last edited by PC Hobbyist; 02-02-2007 at 12:46 PM.
PC Hobbyist is offline   Reply With Quote
Old 02-03-2007, 12:52 AM   #8 (permalink)
Diamond Member
 
PC eye's Avatar
 
Join Date: Apr 2006
Location: Inside a pc
Posts: 19,226
Default

On a different drive then C? Different numbers of user accounts on different machines? Wild card doesn't work? If you know the system that will receive the self extracting files has one specific user name then you simply write the instructions for that. But if you are planning to send to more then one or multiple accounts the idea of the "specific" destination that would be "universal" or one specially created on one machine would be the ideas to look at. You first have to have a fixed destination easily accessible for those you want to see them as well as sending to.
PC eye is offline   Reply With Quote
Old 02-03-2007, 11:28 AM   #9 (permalink)
Platinum Member
 
PC Hobbyist's Avatar
 
Join Date: Jun 2006
Posts: 548
Default

LOL

I know, is right. I think the best thing to do is to use:
C:\Documents and Settings\All Users\Desktop\WHATEVER-NAME

And then each person can simply drag that WHATEVER-NAME folder into their My Pictures or My Documents.

Thanks for your help. I think we figured out what is easiest.
__________________

PC Hobbyist is offline   Reply With Quote
Old 02-04-2007, 03:19 AM   #10 (permalink)
Diamond Member
 
PC eye's Avatar
 
Join Date: Apr 2006
Location: Inside a pc
Posts: 19,226
Default

You should be able to use a universal while keeping it simple. Each system chosen to receive photos from PC Hobbyist would somply create a new folder with a name like "PC Hobbyist photos" to clearly identify those as not being the default "My Pictures" seen in the My documents folder under all or "user name". A folder called TEMP or going to "All Users\Shared Documents\Shared Pictures is a thought too. The last covers multiple accounts on one machine.
PC eye is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
simple writing question ray_miecz CD/DVD Technology 20 07-27-2007 11:33 PM
System Alert!! Fake! Re: anti-vermins.com J_D Computer Security 5 01-07-2007 01:36 PM
AVG Found 2 trojans....Hijack this log r3dh3adkid Computer Security 1 08-26-2006 09:47 AM
nero express 6 burning problems Septimus CD/DVD Technology 9 03-11-2006 06:11 AM
Making a DVD... error ray_miecz CD/DVD Technology 0 02-11-2006 02:00 AM


All times are GMT +1. The time now is 03:54 AM.


Powered by: vBulletin Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Copyright © 2002-2007 Computer Forum and Web Design Forum