Link to home
Start Free TrialLog in
Avatar of polycorjsp
polycorjsp

asked on

Script to zip, copy, unzip

Hi Guys!

I need to transfert a 10Mb Access MDB across Domain connected with a VPN Link.

Presently, i'm doing this

copy \\computer.mydomain.com\BD$\Request.mdb c:\document and settings\user\Request

It takes long because of the VPN link.

When compressed (zip), it takes only a few seconds because the size of the DB is 1.2 Mb instead of 10.

The command is initiate from the other computer.  Is it possible from a computer to do a remote zip?  If so, can somebody guide me in the process?  Thanks!
Avatar of Lee W, MVP
Lee W, MVP
Flag of United States of America image

You can use PSEXEC from the PSTOOLS utilities available here (www.sysinternals.com) and to execute the zip command so you can transfer it.  As for a zip command to use, I personally use Info-Zip - www.info-zip.org
Avatar of polycorjsp
polycorjsp

ASKER

I download the utility but I was unable to make it work...

psexec \\computer.mydomain.com -u Administrator -p 12345 ipconfig

Always get an error saying access denied...  I've tried Administrator@mydomain.com and MYDOMAIN\Administrator


Thanks!
ASKER CERTIFIED SOLUTION
Avatar of dimitry
dimitry

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