Jump to content

need help with 7-zip functionality


Recommended Posts

hey im new here and new to vb.net iv worked alot in batch scripting and i LOVE how this peice if code works... but cant get it to work in vb.net ... i remarked above each line to explain what each line does.. help me plz i have ALOT of programs that run this way... and id love to have a VB.net exe that does it insted of a batch...

::Extracts to the environment variable for TEMP directory

start /wait Programs\Optimize\AusLogics_Defrag.exe -o%TMP% -y -Pthisisthepass

::Runs the exe with command line arguments

%TMP%\AusLogics_Defrag\cdefrag.exe -dt -o c:

::Once its done it deletes the extracted folder and its contents

IF EXIST "%TMP%\Auslogics_Defrag\" (RMDIR /S /Q "%TMP%\Auslogics_Defrag\")

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...