I'm not sure if this will help, but with my programs I have noticed that If I am working over the network, I can not have the path for the machine over the network as "C:" or "D:", I have to call it "\\theothermachine\Renee\" or "\\theServer\temp\"
HTH,
Beth
>The INI file looks like this:
>[Server]
>; The above section "Server" must be used
>; The following entry is the Destination path
>Directory1 = "D:\temp"
>Directory2 = "D:\temp"
>Directory3 = "D:\temp"
>Directory4 = "D:\temp"
>Directory5 = "D:\temp"
Directory6 = ""
[HomePath]
; The following entries indicate files to copy from the workstation
lcHomePath1 = "C:\Renee\Electrocardiogram Report"
lcHomePath2 = "C:\Renee\Event Monitors"
lcHomePath3 = "C:\Renee\Lexington Office Records"
lcHomePath4 = "C:\Renee\Providence Office records"
lcHomePath5 = "C:\Renee\Chest X-Ray Report"
lcHomePath6 = ""
The Copy program looks like this:
** Get the program server path
LOCAL lcdirectory1
lcdirectory1 = ADDBS(ALLTRIM(readini(lcIniFile,'Server','Directory1','%')))
** Get the program home path
LOCAL lcHomePath1
lcHomePath1 = ADDBS(ALLTRIM(readini(lcIniFile,'HomePath','lcHomePath1','%')))
WAIT WINDOW "Copying folder " + lcHomePath1 TIMEOUT 5
lcHomePath1 = "'"+lcHomePath1+"\*.*'"
lcdirectory1 = "'"+lcdirectory1+"\*.*'"
COPY FILE &lcHomePath1 TO &lcdirectory1
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only