This is what I have:
I have a 'help' application, which resides in the 'Help' dir. on my autoplay CD. This help dir is the distribution folder for the HELP project, the main project's distribution folder contians 'Help'.
This is what I want:
A button in HELP that copies the entire contents of the MAIN project's distribution folder to a user-specified location.
This is what I did:
I got the %srcdir% and did a replace to remove "/Help" and replace it with "/". Then I copy using the modified %srcdir% variable as the source (%newSource%\*.*) to the destination the user chooses from a folder browse dialog box.
This is what Happens:
In WinXP on multiple machines it works great as expected.
In Win98 on multiple machines it fails to properly replace /Help with / and leaves me copying ONLY the 'Help' dir.
--after looking at the 98 problem, I was able to determine it translated the path name to CAPS shoing "now copying "\HELP\*.*, when the CD path name still was called 'Help' in explorer--not 'HELP'.
I then tried to use a subtraction to remove the 'Help', but i ran into problems on the network, in 98 where the copy function failed when the program was running off of a network drive (WINDOWS would give an address error in the range something like 9x091437 to 0xFFFFFFFF, and then the Menu would be forced closed). I've since given up, and the final CD project is already gone into distribution, but I just wanted to let people know of the silliness in 98 with path names, and the other problems with copying from a network drive.
I have a 'help' application, which resides in the 'Help' dir. on my autoplay CD. This help dir is the distribution folder for the HELP project, the main project's distribution folder contians 'Help'.
This is what I want:
A button in HELP that copies the entire contents of the MAIN project's distribution folder to a user-specified location.
This is what I did:
I got the %srcdir% and did a replace to remove "/Help" and replace it with "/". Then I copy using the modified %srcdir% variable as the source (%newSource%\*.*) to the destination the user chooses from a folder browse dialog box.
This is what Happens:
In WinXP on multiple machines it works great as expected.
In Win98 on multiple machines it fails to properly replace /Help with / and leaves me copying ONLY the 'Help' dir.
--after looking at the 98 problem, I was able to determine it translated the path name to CAPS shoing "now copying "\HELP\*.*, when the CD path name still was called 'Help' in explorer--not 'HELP'.
I then tried to use a subtraction to remove the 'Help', but i ran into problems on the network, in 98 where the copy function failed when the program was running off of a network drive (WINDOWS would give an address error in the range something like 9x091437 to 0xFFFFFFFF, and then the Menu would be forced closed). I've since given up, and the final CD project is already gone into distribution, but I just wanted to let people know of the silliness in 98 with path names, and the other problems with copying from a network drive.
Comment