Link to home
Start Free TrialLog in
Avatar of hjaycox
hjaycox

asked on

shell problems from vb4(32) to MS dos

I have a program in vb4 (32)( win 95) that needs some tweeking.  I have a file (144000 bites) compressed in win 31 to be self extracting on a 3.5 disk in a 'A drive'. A call from the program (vb4 32 win 95) copies this file to a new directory on the 'C drive' ok so far.
now the trouble. In the program I shell to this newly created directory to unpack the compressed exe file. I use the code... shell("c:/done/fill.exe",1)... to see what is happening. The MS Dos window opens and I see the file unpacking. BUT WHEN I GO TO THE DIRECTORY... only the fill.exe is there. I shut OFF the puter and reboot and STILL there are NO FILES other than the fill.exe WHAT AM I DOING WRONG   help help......please  
Avatar of waty
waty
Flag of Belgium image

you are doing nothing wrong. I think the problem is in the unpacker. I think you need to specify a path.
Avatar of PSV
PSV

its see everything fine. Your files are unzipped in some other directory (most probabaly \temp or \tmp) . If U know the name of
any extracted file use FIND to check where it is unzipped.
ASKER CERTIFIED SOLUTION
Avatar of rayford
rayford

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
fyi By the way you should be able to view contents of a Self extracting EXE the same as you would a ZIP file such as PKZIP -v FILL.EXE and you should also be able to specify certain files to be extracted last time I tried I'm sure it allowed stuff like
shell("c:/done/fill.exe c:\done *.prg",1)
which would be like PKUNZIP fill.zip c:\done *.prg
to ONLY extract the PRG files in the archive.. handy tips!
Avatar of hjaycox

ASKER

please give PSV 25 points with his (her) ans and rayfords I got it and understand what was going on. thanks