supadodger Posted August 27, 2010 Posted August 27, 2010 (edited) If i take the clip $File = FileOpenDialog("Select File To Upload", "C:\Users\Administrator\Downloads", "Archive Files (*.rar;*.zip)", 1 + 4 ) ClipPut ('"' & @ScriptDir & '\' & '7za.exe" a -tZip ' & '"' & $file & '" "' & @ScriptDir & '\' & 'my.url"') _RunDos ('"' & @ScriptDir & '\' & '7za.exe" a -tZip ' & '"' & $file & '" "' & @ScriptDir & '\' & 'my.url"') if i take the output from ClipPut & paste it into a command window it works fine so i know that i am calling the 7za.exe properly.... any other ideas? Edited August 27, 2010 by supadodger
supadodger Posted August 27, 2010 Author Posted August 27, 2010 (edited) This Code Does Not Work _RunDos ('"' & @ScriptDir & '\' & '7za.exe" a -tZip ' & '"' & $file & '" "' & @ScriptDir & '\' & 'my.url" >C:\Log.txt') This Code Does Work Run ('"' & @ScriptDir & '\' & '7za.exe" a -tZip ' & '"' & $file & '" "' & @ScriptDir & '\' & 'my.url" >C:\Log.txt') Only Difference is one is run Edited August 27, 2010 by supadodger
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now