Paradox Community

Items in pnews.paradox-programming

Subject:MakeDir()
Date:Thu, 19 Oct 2017 14:10:50 -0700
From:Peter <peter@whiteknight.email>
Newsgroups:pnews.paradox-programming
This is puzzling, can anyone tell me what is wrong?

This works
if not fsy.makeDir("D:\\Corel\\Settings\\9\\Pdx\\SchedPriv") then
    errorShow()
endIf

This will not work
strPathNew = "\"" +strPathNew+ "\""
view(strPathNew)  ;//shows (including the quotation marks)
"D:\\Corel\\Settings\\9\\Pdx\\SchedPriv"

if not fsy.makeDir(strPathNew) then
    errorShow()
endIf

I also tried strPathNew without the quotation marks and still wouldn't work.

Thank you.


Peter


Copyright © 2004 thedbcommunity.com