Jump to content

_RunDos Help....


Recommended Posts

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 by supadodger
Link to comment
Share on other sites

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 by supadodger
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
 Share

  • Recently Browsing   0 members

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