Results 1 to 3 of 3

Thread: How to move unzipped files

  1. #1
    Join Date
    Mar 2012
    Posts
    2

    How to move unzipped files

    Hi,

    I have a below task to do:

    I have to unzip a zip file in the same folder. In this zip file there will be one .bat file. Once I ran this bat file successfully then I have to move these unzipped files to some other backup folder.

    Can anyone please tell me how to do this in DOS..?

    Thanks in advance

  2. #2
    Join Date
    Jul 2011
    Posts
    440

    Re: How to move unzipped files

    There are tools like PKZIP and PKUNZIP which can help you for this process. You can generate a bat file from this. Search for them and you will find that this are command line utilities to work with zip files. There are many free utilities like unz552xN.exe which you can run from cmd to unzip the file. Also moving them to another directory can be done via using MOVE. For example - use MOVE C:\location "c\location". Other than this you can try XCOPY also for the same thing.

  3. #3
    Join Date
    Mar 2012
    Posts
    2

    Re: How to move unzipped files

    Hi Billie.., Thanks for your solution.. I got a solution that fits my requirement. However I have another question now:

    Everyday I get one zip file in one directory: lets say X directory.. I don't know the name of the zip file name. But I have to unzip it in a directory of the zip file name that i get.

    For ex: if i get file1.zip on today i have to unzip it in file1 directory
    next day if i get file2.zip i have to unzip it in file2 directory

    Its like as simple as in windows OS when we right click on file1.zip file--> there will be option "extract into file1 folder". I need a equal DOS command to do this.

    Is there any DOS command to do this task.

Similar Threads

  1. Move files command
    By Kassandra in forum Windows Software
    Replies: 6
    Last Post: 24-06-2010, 05:19 AM
  2. Move files to a NAS from Mac OS X
    By Harvey in forum Networking & Security
    Replies: 5
    Last Post: 16-02-2010, 08:56 PM
  3. Can't move or delete files
    By Salome in forum Operating Systems
    Replies: 8
    Last Post: 24-02-2009, 05:47 PM
  4. How to move boot files ?
    By MARVELA in forum Operating Systems
    Replies: 3
    Last Post: 11-02-2009, 12:28 PM
  5. Move servicepack files
    By Ruben in forum Windows Server Help
    Replies: 3
    Last Post: 25-05-2007, 05:39 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,007,643.20237 seconds with 17 queries