>I have this in a script:
>
>
>SET @Merge_Script = '\\allscriptsscan\ImpactMDImages\' + @path + @filename
>
>
>I need to rewrite it to point to this directory on the same box the script is running from:
>
>
>'c:\MyFolder\MySubFolder\'
>
>
>The full computer name is:
>
>
>ntserver.mycompany.local
>
>
>What is the proper way to write it?
Would SET @Merge_Script = 'c:\MyFolder\MySubFolder\' + @filename
work for you?
If it's not broken, fix it until it is.
My Blog