[.VBS or .BAT] Unzipping

Discussion in 'Web Design & Coding' started by kcnychief, Jul 6, 2006.

  1. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    [.VBS or .BAT] Unzipping/Extracting

    Not sure which way would be easier, I assume .BAT but I would prefer .VBS -

    I have a file on a CD that I want to unzip, using either .BAT or .VBS

    Say the file is E:\FOLDER\FILE.EXE (it's a extractable zip file)

    any ideas?

    -edit- best I can tell I need some sort of plugin to perform the action from CMD line, which isn't going to suffice :(
     
    Last edited: Jul 6, 2006
  2. Chris Graham

    Chris Graham OSNN One Post Wonder

    Messages:
    1
    Try opening up a command prompt and doing "file /?". You might find it comes with some command line parameters :).
     
  3. kcnychief

    kcnychief █▄█ ▀█▄ █ Political User Folding Team

    Messages:
    16,948
    Location:
    Massachusetts
    I have it sorted for the most part.

    Basically what I am doing is silently installing the WinZip CMD-line utility first, pausing, then setting the PATH variable to where WinZip is stored, pausing, then extracting the files I need. Still a bit of cleanup to do, but the base functionality is there ;)