Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 24th, 2012, 07:28 AM
ExportA ExportA is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 234 ExportA User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 21 h 17 m 9 sec
Reputation Power: 0
ZIP, custom name and copy to folder

Hi all, I need something special and have no idea how to achieve it.

I need a kind of script that would allow people using a computer (XP) to right-click on a folder and/or files and then hit a kind of 'ZIP and copy to folder DROPBOX'. It's like a ZIP and email but on a folder, ZIP and copy to folder.

Here is some specifications;

- The folder 'DROPBOX' will always be the same, the destination never change

- The ZIP file would have to get some kind kind of uniqueness name generator (timestamp+random?), ex.: 130480392_5643.zip, just to make sure the file is not there twice

- Must create a single file, with ZIP extension

- No confirmation, if the user right-click a folder and/or files and hit 'ZIP and copy to DROPBOX', it does the job right away, no confirmation on what to do or that it's done (only a DOS command that opens and close itself once done would be nice).

Thanks a lot

UPDATE : After thinking a bit, the only way a confirmation would be ok if it's the random name generation part is not working, example, you right-click, choose 'ZIP and send to DROPBOX', a small input window opens prompting to enter a name for the archive, you enter something and hit 'generate zip'.

Last edited by ExportA : February 24th, 2012 at 07:39 AM.

Reply With Quote
  #2  
Old February 24th, 2012, 01:21 PM
Kravvitz's Avatar
Kravvitz Kravvitz is offline
CSS & JS/DOM Adept
Dev Shed God 30th Plane (19500 - 19999 posts)
 
Join Date: Jul 2004
Location: USA
Posts: 19,833 Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level)Kravvitz User rank is General 48th Grade (Above 100000 Reputation Level) 
Time spent in forums: 6 Months 1 Day 20 h 52 m 20 sec
Reputation Power: 4192
1) I'd say the first step would be for you to locate a program that will ZIP a folder via the command line interface.

Three free solutions:
http://superuser.com/questions/1109...ilt-in-capabili
http://blog.enrii.com/2007/06/06/zi...g-command-line/
http://www.zipgenius.com/index.php?id=182
Two programs you can purchase:
http://www.rarlab.com/rar_archiver.htm
http://www.winzip.com/prodpagecl.htm


2) Then you need to find someone who knows VBScript and can create the new file name and issue command line commands.

3) Then you need to find someone who knows how to add an option to the context menu of folders in Windows Explorer, unless you'd be satisfied with adding this script to the "sendto" folder, which is quite easy (under WinXP, just put a shortcut in "%USERPROFILE%\SendTo").
__________________
Spreading knowledge, one newbie at a time. I'm available for hire at Dynamic Site Solutions.

Check out my blog. | Learn CSS. | PHP includes | X/HTML Validator | CSS validator | Common CSS Mistakes | Common JS Mistakes

Remember people spend most of their time on other people's sites (so don't violate web design conventions).

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > ZIP, custom name and copy to folder

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap