- Joined
- Feb 18, 2002
EDIT: I of course know how to do this slowly/individually/manually.
This thread is about creating a single click .bat file to do it.
Greetings!
In order to create a Portable version of a program that gets updated frequently, I need to use either WinRAR or 7-Zip to extract only the following folders and files from an .exe Setup file. Can you help me make a .bat file that would accomplish that?
I need to extract only the following from a 32-Bit Setup file of this program: http://www.videohelp.com/software/PotPlayer
Folders:
Html
Logos
PxShader
Skins
Urllist
Files:
CmdLine.txt
PotPlayer.dll
PotPlayer.exe
PotPlayerMiniXP.exe
This thread is about creating a single click .bat file to do it.
Greetings!
In order to create a Portable version of a program that gets updated frequently, I need to use either WinRAR or 7-Zip to extract only the following folders and files from an .exe Setup file. Can you help me make a .bat file that would accomplish that?
I need to extract only the following from a 32-Bit Setup file of this program: http://www.videohelp.com/software/PotPlayer
Folders:
Html
Logos
PxShader
Skins
Urllist
Files:
CmdLine.txt
PotPlayer.dll
PotPlayer.exe
PotPlayerMiniXP.exe
Saving this command with a .bat extension, extracts only the specified files/folders from C:\Setup32-Bit.exe to C:\1:
@ECHO OFF
"%PROGRAMFILES%\7-Zip\7z.exe" x C:\Setup32-Bit.exe -oc:\1 Html Logos PxShader Skins Urllist CmdLine.txt PotPlayer.dll PotPlayer.exe PotPlayerMiniXP.exe
Last edited: