edmoncu Posted May 17, 2004 Posted May 17, 2004 i was wondering, i dunno how unattended RAR-SFX archives behave though, but will it extract to the folder where the file's located at or it will extract on the default active directory (if there's one existing)?i had this sample *.CMD file that's being called under RunOnceEx.cmdcd %WINDIR%\Resources\Themesstart /wait %WINDIR%\Resources\Themes\ChaNinja.exe /scd %SYSTEMDRIVE%\Others\dotnetfxstart /wait %SYSTEMDRIVE%\Others\dotnetfx\dotnetfx.exe /scd %SYSTEMDRIVE%\Others\acroreadstart /wait %SYSTEMDRIVE%\Others\acroread\acroread.exe /scd %SYSTEMDRIVE%\Others\alcoholstart /wait %SYSTEMDRIVE%\Others\alcohol\alcohol.exe /scd %SYSTEMDRIVE%\Others\diskeeperstart /wait %SYSTEMDRIVE%\Others\diskeeper\diskeeper.exe /scd %SYSTEMDRIVE%\Others\Powerdvdstart /wait %SYSTEMDRIVE%\Others\Powerdvd\powerdvd.exe /scd %SYSTEMDRIVE%\Others\Ofc2k3start /wait %SYSTEMDRIVE%\Others\Ofc2k3\ofc2k3.exe /scd %SYSTEMDRIVE%\Others\Nod32start /wait %SYSTEMDRIVE%\Others\Nod32\nod32.exe /sall the exe files called unattendedly are rar-sfx compressed. i was wondering, about the behavior of rar-sfx archives, would it be safe if i remove the cd commands?
mazin Posted May 17, 2004 Posted May 17, 2004 (edited) YOU decide wether you want files extracted to %TEMP%, or to the same directory; which is the default behavior, or to a specific path.Here's a good example: http://www.msfn.org/board/index.php?showtopic=16562 Edited May 18, 2004 by mazin
edmoncu Posted May 17, 2004 Author Posted May 17, 2004 oops im sorry, what i meant was, can i control where the extracted files are placed when running unattendedly a rar-sfx compressed archive?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now