>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