Sign in to follow this  
Followers 0
supadodger

_RunDos Help....

2 posts in this topic

#1 ·  Posted (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 by supadodger

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by supadodger

Share this post


Link to post
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
Sign in to follow this  
Followers 0