Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Path \\ or \
Message
From
19/09/2005 11:53:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
01050887
Message ID:
01050889
Views:
9
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform