[cmdline] initial commandline support

* part of issue #111
* add getopt dependency for MS compilers
* enable the provision of an ISO as parameter
* also fixes shadowed sevenzip_path in vhd.c
This commit is contained in:
Pete Batard 2013-02-04 01:14:28 +00:00
parent d2e7e003c3
commit 932df022c5
13 changed files with 1767 additions and 47 deletions

View file

@ -163,7 +163,6 @@ static BOOL WimExtractFile_7z(const char* image, int index, const char* src, con
size_t i;
STARTUPINFOA si = {0};
PROCESS_INFORMATION pi = {0};
char sevenzip_path[MAX_PATH];
char cmdline[MAX_PATH];
char tmpdst[MAX_PATH];