UNC Paths corrupted when passed to RUN PROGRAM command
Posted: Tue Apr 03, 2007 2:08 pm
When I use the RUN PROGRAM command and pass a parameter that is a UNC path (\\\\servername\\sharepointname), the leading \\ character is eliminated.
For example: RUN COMMAND SETUP.EXE "VAR1=\\\\SERVER1\\MYAPPS"
Within Setup.exe, the VAR1 parameter is passed as \\SERVER1\\MYAPPS
Another post, http://forums.installaware.com/viewtopic.php?t=1267 also mentions this same issue, but the workaround provided is unacceptable since I don't know whether the user will browse to a local drive, mapped drive, or UNC path.
Does anyone have a different workaround?
For example: RUN COMMAND SETUP.EXE "VAR1=\\\\SERVER1\\MYAPPS"
Within Setup.exe, the VAR1 parameter is passed as \\SERVER1\\MYAPPS
Another post, http://forums.installaware.com/viewtopic.php?t=1267 also mentions this same issue, but the workaround provided is unacceptable since I don't know whether the user will browse to a local drive, mapped drive, or UNC path.
Does anyone have a different workaround?