|
|
 | | From: | MoBoBowers | | Subject: | TAR for Windows help | | Date: | 21 Jan 2005 05:36:56 -0800 |
|
|
 | I've been using tar for windows for some time now and I have seemed to hit a limitation. I am unable to extract an archieve from a shared network drive to a local directory from the command line. I run this command in a VB script that is executed from the r: drive.
I am attempting the following:
r:\>tar -x -C /C:/temp/client --file c:/apps/client/client.tar
I know there is a syntax problem here but I can't seem to find any helpful information pertaining to switching drives. Can someone point me in the right direction?
Thanks in Advance,
MB
|
|
 | | From: | Wimjan | | Subject: | Re: TAR for Windows help | | Date: | Fri, 21 Jan 2005 15:17:58 +0100 |
|
|
 | MoBoBowers wrote: > I've been using tar for windows for some time now and I have seemed to > hit a limitation. I am unable to extract an archieve from a shared > network drive to a local directory from the command line. I run this > command in a VB script that is executed from the r: drive. > > I am attempting the following: > > r:\>tar -x -C /C:/temp/client --file c:/apps/client/client.tar > > I know there is a syntax problem here but I can't seem to find any > helpful information pertaining to switching drives. > Can someone point me in the right direction? > Well, first of all most slashes should be backslashes in a DOS/Windows environment. Next, what is the slash in front of 'C:' doing there? You don't specify which tar port you're using so I assume it's . Perhaps this works:
tar -x -C c:\temp\client -f c:\apps\client\client.tar
Regards,
Wimjan
-- Sleet is van vroeger, tegenwoordig gaat alles kapot.
|
|
|