Sign in to follow this  
Followers 0
Vaeb

shellexecute printer shortcuts

3 posts in this topic

Hello everybody

I have a script to execute printer shortcuts.

Unfortunatly it tells me that I didnt enter the correct parameters.

And it shows me exact the right link.

Why dont this function work?

Is it a bug?

Func shellexe()
    $Array = _FileListToArray("C:\Documents and Settings\tmuller\Desktop\printershortcuts\", '*.*' , 1)
    If Not IsArray($Array) Then MsgBox(16, 'error', 'kein Array')
    For $i = 1 To $Array[0]
        ConsoleWrite("C:\Documents and Settings\tmuller\Desktop\printershortcuts\" & $Array[$i] & @CRLF)
        ShellExecute("C:\Documents and Settings\tmuller\Desktop\printershortcuts\" & $Array[$i])
    Next
    Exit
EndFunc

Greets

Vaeb

Share this post


Link to post
Share on other sites



What kind of files are in this folder?

"C:\Documents and Settings\tmuller\Desktop\printershortcuts\"

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