Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Server Path
Message
De
11/06/2008 19:34:38
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/06/2008 19:08:23
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Titre:
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01323321
Message ID:
01323339
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform