none
extract a file by just using cmd and none in win 7

    General discussion

  • i was just wondering that if i could use cmd in win 7 to extract a rar file instead of using any software like winrar, winzip, etc. I Just want to use a command in cmd and the files will be extracted

    i mean to say that i just type something like below and it will be extracted

    c:\files\imp_file.rar extract

    enter path or folder where to extract file: c:\files\imp_file

    please help me with the above code. as this can prevent the windows user to spend money on any archieve manager. I know there are many free managers to do those tasks but if there would be some code in win 7 then i would be better as this could also free space in our HDD if we won't use any other software for such tasks.

    please tell if you know how to do this.

    and please don't say something like "why wont you use winrar" or "why you want" bla bla bla.

    am doing so just to gain some inside knowledge about win7 and also if i am in a emergengy and don't have a archive manager then could use this.

    Wednesday, July 11, 2012 3:12 PM

All replies

  • I don't believe the built in Windows Utilities handles .rar files. I
    think the tool you want is expand. Go to the command line and hit

    expand /?

    That gives you the list of possible commands you can use to extract .cab and .zip But for .rar...think you need WinRar or 7Zip sorry


    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog: rorymon.com Twitter: @Rorymon

    Wednesday, July 11, 2012 4:11 PM