I've written a script that verifies if certain applications or shortcuts exist on a user's machine. However, I keep getting the following error when I run my script.
Script error: invalid method/function call: missing ')'!
I don't see where it wants me to add another ')' I've even tried to add another set of () at both the start and end of the directory path, but I still get the same error.
I have other lines of code that are similar, but they verify if a folder exists and I get no problem. The only real diffrence between the lines checking for a folder and one checking for a shortcut is that the folder check points to \\$postes\c$\..... while the one for the shortcut as you can see below points to \\$postes\admin$\...
I've read in other postings that I may have to use the double $$, but I tried that and it still gives me the same error message.
Does anyone have any ideas?
This is what I see in my logfile :
code:
Script error: invalid method/function call: missing ')'!
IF EXIST ("\\$postes\admin$\profiles\all users\menu démarrer\programmes\dossier\appli.lnk") GOSUB APPLI ENDIF
Thanks in advance,
Ian