Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Shortcut problem


1 reply to this topic

gunavelu

gunavelu
  • Members
  • 23 posts

Posted 03 September 2002 - 15:32

Hi,

I have problems creating shortcut to a very long shortcut. Is there any size limitation on shortcut paths. If so, what is the workaround for this?

Ex:
Code Sample

c:\program files\microsoft office\office10\msaccess.exe c:\documents and settings\someuser\somefolder\somemdb.mdb /wkgp c:\documents and settings\someuser\somefolder\somemdw.mdw /user someuser /pwd somepwd

Gunavelu

Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 04 September 2002 - 11:50

The limits are MAX_PATH = 260 or for late versions of the shell INFOTIPSIZE = 1024.

There is a further limitation if you want to edit the shortcut.  The edit box appears to restrict you to MAX_PATH whatever the operating system. (Needs INFOTIPSIZE x 2 + 1)

You can reduce the path and arguments with short filenames and environment variables.
Ian Blake
(Currently Unemployed)