Jump to content

Recommended Posts

Posted

hi heres a question id like to know the answer to and i hope it hasnt been asked before and if so im sorry but here it goes any ways

how can i make a .rar file and set it in a batch / cmd file so that it will be told to extract to a certain folder..

for example lets say favorites.. if you zip up all your favs in a .rar format , how can you set it up so it will extract to the favorite folder. ?

should i be using winrar to accomplish this, or is there another program that will do the task at hand better.

btw i know the favorite ideal has been talked about many many times now but im just using that as an example

thanks


Posted (edited)

hi lost soul

try this out

example:

go to c:\XXXX folder

highlight the files that u want

right click and select winrar >>> add to archive

follow the pretty pictures

th_2e6_Snap1.jpg

th_520_Snap2.jpg

th_a16_Snap3.jpg

th_5a2_Snap4.jpg

th_427_Snap6.jpg

i think u can figure out the rest...

Edited by Astalavista
Posted (edited)

why don't create a rar self extracting archive?? (check "create SFX archive") ;)

edit: arggghhh! i hate when some1 is faster! :realmad::lol:

Edited by SiMoNsAyS
Posted

thanks Astalavista i was curious about that, thanks for showing such detail in making that so easy for me and any one else that isnt sure on how to go about doing that :)

  • 1 month later...
Posted

@Astalavista

If we uncheck the option "Unpack to temporary folder", would the archive file be unpacked in the folder from which we launch the exe.

Or we have to set "Path to extract" = "Create in the current folder"

Or both options ?

ie

WinRAR silent SFX PREMSJVM.exe is copied to C:\$WINNT$.~LS\I386\SVCPACK along with MSJAVWU.exe

PREMSJVM.exe contains only one batch PREMSJVM.CMD which execute preliminary steps using MSJAVWU.exe in the same folder C:\$WINNT$.~LS\I386\SVCPACK

We launch the install proccess PREMSJVM.exe from SVCPACK.INF (That why we need an exe, NOT a cmd)

SVCPACK.INF

[SetupHotfixesToRun]
"PREMSJVM.exe"
"MSJAVWU.EXE /Q:A /R:N /c:""javatrig.exe /exe_install /l /qq /nowin2kcheck"""

Can we have the PREMSJVM.CMD file extracted in C:\$WINNT$.~LS\I386\SVCPACK ?

I would like to use this method in order not to add MSJAVWU.exe in my PREMSJVM.exe archive but launch the install MSJAVWU.exe with switches after launching PREMSJVM.exe.

PREMSJVM.CMD to put in SFX silent Archive PREMSJVM.EXE

Install MS Java on WIndows 2000 SP4 , How To Install MS Java on a W2K SP4

Posted by Nastradamus, Jan 27 2004, 07:57 AM

Probably a bit confusing ?

Posted

I dont like using self extracting archives.. It works, but..

Anyway, I added unrar.exe (winrar cmd line decompresser) to my xp cd by default. Similair to the extract.exe built in to windowss.

Posted
bilemke

most of us here at MSFN use Winrar SFX,

Applications that use Winrar SFX. Nero, PowerDVD, Ulead, FireFox, u name it.

I think u are in the minority that dont like Winrar SFX.

  • 3 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...