7-zip Standalone glitch

  • Thread starter Achim Nolcken Lohse
  • Start date
A

Achim Nolcken Lohse

Have just tried 7-zip for the first time, impressed by its three
consecutive years on the Pricelessware list, but have run into a
problem.

I wanted to try the standalone version first 7za432.zip, as something
I could recommend to a zipless acquaintance who might not feel as
comfortable as I do about installing Pricelessware in his registry.

The command line parameters seem simple enough, but on my Win98SE
system, when I click on the exec file to open it and enter my command
and switches, a (small) DOS window opens on my desktop, several lines
of text scroll by at lightning speed, and the window closes again!

Anyone have an explanation, or even better, a solution?
 
A

Al Klein

Have just tried 7-zip for the first time, impressed by its three
consecutive years on the Pricelessware list, but have run into a
problem.

I wanted to try the standalone version first 7za432.zip, as something
I could recommend to a zipless acquaintance who might not feel as
comfortable as I do about installing Pricelessware in his registry.

The command line parameters seem simple enough, but on my Win98SE
system, when I click on the exec file to open it and enter my command
and switches, a (small) DOS window opens on my desktop, several lines
of text scroll by at lightning speed, and the window closes again!

Anyone have an explanation, or even better, a solution?

It's a command line program. Open a DOS window and run the program
like a command line program. You can't run a command line program
from Windows.
 
A

Achim Nolcken Lohse

It's a command line program. Open a DOS window and run the program
like a command line program. You can't run a command line program
from Windows.

It's been a while (must be several years) since I've encountered this
problem. Doesn't F-Prot for Dos run in a DOS window under Windows? It
seems to on my system...

It seems to me there are also MD5sum programs that operate this way
and allow command line input.

Probably my memory is failing me, but the only other way I know of
opening a DOS window is to go to the Shutdown menu and select "restart
in Dos mode". This is no big deal, except I lose access to all my USB
and SCSI devices.

After writing the above, I tried restarting in DOS mode, navigated to
the folder containing 7za.exe (the standalone version of 7zip from
PW2006) and ran it. Guess what happened?

1. "this program cannot be run in DOS mode",

and when I typed "win" to return to windows,
the system advised me that there was a program running under DOS, and
I'd have to exit it before returning to Windows.

So I had to reset the system.

Is there something I'm missing?
 
F

fred

Konrad <konrad_NOSPAM_@ao said:
Try:
START meny, Run, then type "command" and hit enter.
or Start > Programs > Accessories > Command Prompt which is a
shortcut that can be copied to a more convenient location if used
frequently.
 
M

meow2222

Achim said:
Have just tried 7-zip for the first time, impressed by its three
consecutive years on the Pricelessware list, but have run into a
problem.

I wanted to try the standalone version first 7za432.zip, as something
I could recommend to a zipless acquaintance who might not feel as
comfortable as I do about installing Pricelessware in his registry.

The command line parameters seem simple enough, but on my Win98SE
system, when I click on the exec file to open it and enter my command
and switches, a (small) DOS window opens on my desktop, several lines
of text scroll by at lightning speed, and the window closes again!

Anyone have an explanation, or even better, a solution?

Why are you mucking about with a command line version? GUI 7zip is
safe, fast, efficient, versatile, user friendly, 98se compatible and
freeware. What more do you want?

(Try 423.)


NT
 
M

ms

(e-mail address removed) (Achim Nolcken Lohse) wrote in @news.telus.net:
Have just tried 7-zip for the first time, impressed by its three
consecutive years on the Pricelessware list, but have run into a
problem.

I wanted to try the standalone version first 7za432.zip, as something
I could recommend to a zipless acquaintance who might not feel as
comfortable as I do about installing Pricelessware in his registry.

The command line parameters seem simple enough, but on my Win98SE
system, when I click on the exec file to open it and enter my command
and switches, a (small) DOS window opens on my desktop, several lines
of text scroll by at lightning speed, and the window closes again!

Anyone have an explanation, or even better, a solution?

I convert installs to executables wherever possible. The GUI 7-Zip has to
be installed, I found, and does work fine that way. It was too much hassle
to use it as an executable.

Mike Sa
 
A

Al Klein

It's been a while (must be several years) since I've encountered this
problem. Doesn't F-Prot for Dos run in a DOS window under Windows? It
seems to on my system...

Programs that sit and wait for something will keep the command window
open until you type what they want, then close the window. Programs
that just run, run and close the window. If you're waiting to see the
output you have to look fast.
It seems to me there are also MD5sum programs that operate this way
and allow command line input.

From a DOS window. You can't run an exe and give it command line
input (except "run", "print", etc.)
Probably my memory is failing me, but the only other way I know of
opening a DOS window is to go to the Shutdown menu and select "restart
in Dos mode".

Start/Run/cmd (or command in older versions of Windows).
After writing the above, I tried restarting in DOS mode, navigated to
the folder containing 7za.exe (the standalone version of 7zip from
PW2006) and ran it. Guess what happened?
1. "this program cannot be run in DOS mode",

It probably has to run in a DOS box, not in DOS - there's a
difference.

It either is a GUI program and you run it from the desktop, or it's a
command line program and you run it from a DOS box (or with the
command in the shortcut, but you won't see any console output from the
program because it'll close the DOS box too quickly).
 
A

Al Klein

or Start > Programs > Accessories > Command Prompt which is a
shortcut that can be copied to a more convenient location if used
frequently.

Make a new shortcut (anywhere). Name it cmd. No need to navigate the
Start menu.
 
R

R!

(e-mail address removed) (Achim Nolcken Lohse) wrote in
Have just tried 7-zip for the first time, impressed by its three
consecutive years on the Pricelessware list, but have run into a
problem.

I wanted to try the standalone version first 7za432.zip, as something
I could recommend to a zipless acquaintance who might not feel as
comfortable as I do about installing Pricelessware in his registry.

The command line parameters seem simple enough, but on my Win98SE
system, when I click on the exec file to open it and enter my command
and switches, a (small) DOS window opens on my desktop, several lines
of text scroll by at lightning speed, and the window closes again!

Anyone have an explanation, or even better, a solution?

It's a command line program:

"7za <command>[<switch>]<base_archive_name>[<arguments>...]"

"%~dp07za.exe x %~dp0VETdownload\VET0_h.zip -y -o%~dp0VETtemp"

will extract VET0_h.zip to VETtemp folder...Windows XP / 2000
format.

Think PKzip 2.04 for DOS but only runs in a command window or
from a batch or CMD file.


R!
 
D

Dewey Edwards

It either is a GUI program and you run it from the desktop, or it's a
command line program and you run it from a DOS box (or with the
command in the shortcut, but you won't see any console output from the
program because it'll close the DOS box too quickly).

Or you put the command line in a BATCH file. Add a second line with
the batch command PAUSE.

Run the batch file in the DOS box. Note box will only close after
further keyboard input.
 
A

Achim Nolcken Lohse

Why are you mucking about with a command line version? GUI 7zip is
safe, fast, efficient, versatile, user friendly, 98se compatible and
freeware. What more do you want?

(Try 423.)


NT

The short answer to your question is in the lines you quoted above.

To expand futher, I'd like to have something I can carry on a flash
device or floppy and use on someone else's PC without having to
install anything.
 
A

Achim Nolcken Lohse

Thanks everyone, now I can open the DOS window, but still can't get
the command and switch list from scrolling off the top of the window
before I can read it. Dos used to have a help function in Win95 (I'm
pretty sure this is the last time I used command line entry in Dos),
but "help" doesn't work now. And I haven't written a batch file for at
least five years...
 
A

Al Klein

Thanks everyone, now I can open the DOS window, but still can't get
the command and switch list from scrolling off the top of the window
before I can read it.

Either

<your command line here> | more

or just scroll back in the DOS window. (Use the scroll bar on the
right.)
 
A

Achim Nolcken Lohse

Either

<your command line here> | more

or just scroll back in the DOS window. (Use the scroll bar on the
right.)

thanks Al. I remembered the "|", but not the "more'. Scroll bar is
better, but my DOS window doesn't have one.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top