Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got some files on a machine that need to be archived, then copied over to another machine. On the other machine I need the files in a folder to be archived and removed, and then have the new archive extracted.

Basically overwrite a folder from a rar/zip and archive the old folder.

I have been able to create an exe from a batch file and include the 7zip utility, but the problem is that upon running the app the 7zip.exe gets extracted out of the batch executable, and is run as a separate program. The problem with this is that I can assign one exe to run securely, but not the extracted 7zip.exe.

Any ideas ?

share|improve this question
    
the current solutions can extract a file, but cannot archive an old folder –  Daniel Apr 27 '11 at 5:35

2 Answers 2

Try IEXPRESS.EXE and see if that helps any. (it's included in Windows, most people don't realize it)

http://en.wikipedia.org/wiki/IExpress

share|improve this answer

Why not create the archive as a self extracting file ?

share|improve this answer
    
because I cannot get that one to create an archive from the other folder –  Daniel Nov 10 '10 at 4:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.