1.

Solve : Creating a ZIP file from MS-Dos?

Answer»

good morning everyone I'm very new at this any help would be appreciated.

I'm trying to create a zip file thru ms-dos, I WANT to read a folder while executing a txt file

Command that I"m using

"C:\Program FILES\7-Zip\7z.exe" a -tzip \\filename.zip @\\test.txt

but I keep getting an error

Error:
Incorrect wildcard in listfile

ty in advance

Got it to work guys thank you...................why dont you use winrar?


Please See the FORUM Rules...

We do not do that here.
@echo OFF
REM Extract the content of all zip & rar.gz files in the current directory
for %%f in (*.zip *.rar) do "C:\Program Files\WinRAR\Winrar.exe" x "%%f"what does he gain by using WinRAR over 7Zip?Doesn't the REM negate the command ? ? ?naw, it's REMing the comment, actually.

Gotcha....Rusty.



Discussion

No Comment Found