Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Server Path
Message
From
11/06/2008 19:34:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
11/06/2008 19:08:23
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Title:
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01323321
Message ID:
01323339
Views:
15
This message has been marked as the solution to the initial question of the thread.
>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?

Directory is not important you get the share name and where it points to. Maybe it's directly pointing to that folder and would look like:

\\ntserver.mycompany.local\myShare

or maybe have access to the built-in c$ and it could be:

\\ntserver.mycompany.local\c$\MyFolder\MySubFolder

Cetin

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform