Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Path \\ or \
Message
De
19/09/2005 11:53:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
01050887
Message ID:
01050889
Vues:
12
>Dear all
>
>I using copyfolder funcion of SHELL32.dll
>
>1. The example asks:
>
>C:\\diretorytest\\test
>
>Instead I used:
>
>C:\diretorytest\test (because I will get the path from getdir())
>
>And got a good resul from it
>
>
>Now I have to questions:
>
>1- Is there any problem using on "\" instead of "\\"
>
>2- Using getdir(),how can I obtain the path "\\" into the path ?
>
>Thanks
>
>Moises

Moises,
Probably you looked a sample for JScript. In JScript and C "\" is an escape character and you need "\\" to specify a "\". You can use "\" from VFP. However I don't suggest using WSH (it's WSH, right?).
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform