Richard Caruso wrote on 2016-02-11: > Sure. It may have something to do with comparing data on mapped drives, but > not sure. When I moved the two data folders and the exe to the C Drive, it > worked great. I could snap a screen shot of the debugger at the state in > which it errors, but I can't recall what upload site profox users use for > image URLs. If anyone can let me know that would be great. > > The error is "Invalid path or file name" on line CD "&LAUNCHDIR" in > container1 click method. > > IF !EMPTY(THISFORM.text1.VALUE) > LAUNCHDIR=CURDIR() > SDir=CHR(34)+ALLTRIM(THISFORM.TEXT1.VALUE)+CHR(34) > CD &sDir > MAXFILES=ADIR(FLSARR,'*.DBF') > THISFORM.COMBO1.REQUERY > --> CD "&LAUNCHDIR" > ENDIF > > LAUNCHDIR = "\COMPARES\COMPTABS\" > sdir = "S:\DATA\TI_DATA\185\EPCTDATA\" >
Richard, Seeing the value of LaunchDir, one thing VFP does when it CD's into a directory ( SET DEFAULT TO also) is reads the folder above it to verify the folder you are heading to exists. I had a lot of trouble with some customers for a while. If you were to CD to a folder below the Share "\COMPARES\COMPTABS\workingfolder\" you would have better success. Some of our customers noticed a performance increase when we got them changed over. Tracy Pearson PowerChurch Software _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

