Jump to content

Recommended Posts

Posted

I'm trying to open an application from D:\documents and settings\All Users\Start Menu\Programs\Mitratech\Claim Litigation Mailer Utility.lnk using the following code, but it does not work.

$details = FileGetShortcut(@ProgramsCommonDir & "\Mitratech\Claim Litigation Mailer Utility.lnk")

$mycommandline = $details[0]& " " & $details[2]

run ($mycommandline,"",@SW_MAXIMIZE)

Will you please amend this code to make this work.

Thanks.

Posted

I do not get an error, its just that nothing happens.

Is this line of code correct:

$mycommandline = $details[0]& " " & $details[2]

I used it for desktops and it works ok.

Posted

i got the following:

C:\WINNT\Installer\{6F2FCC69-BECB-4A7A-8E48-F706094944FF}\Icon6F2FCC69.exe

I also got something similar for winzip.

Any other suggestions please

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
×
×
  • Create New...