First let me say i'm new and I do not script. I am trying to add a shortcut to the desktop via shell create shortcut. i can put in all the info (description, point it to the exe etc) and it works fine.. that is when I hit O.K. it seems like it works fine.. but.. I have command line parameters and when I add those to the shortcut CMDLine I get a syntax error. All I am doing is copying and pasting the command line info from the shortcut properties to this CMDline box. Oh and if it helps.. this is the 3rd action I have in the post install area
Here is the command line parameters:
C:\TNM\System\TNM.exe -hax0r INI="C:\TNM\TNM\System\TNM.ini" USERINI="C:\TNM\TNM\System\TNMUser.ini" log=TNM.log
I have tried with the whole line in quotes and without the quotes. I get an error either way. Here is the error I get:
Without the line in quotes:
Line 3 <name> expected error '\'
If I put the whole thing in quotes I get:
Line=3" ')' expected near 'C'
The setup factory program should not care what my command line says.. it should just add what I tell it to. This is strange to me because it works fine without the command line, but then of course the shortcut will not work.
I know the shortcut works with my command line parameters, there is no error in the command line for the shortcut itself. Please help :-)

Reply With Quote
