Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy Files Shortcut pointing to
Message
General information
Forum:
Windows
Category:
Other
Miscellaneous
Thread ID:
00092706
Message ID:
00095287
Views:
35
>>
>>>
>>>For the code I'll look it over, Actualy I was looking for some way to do this copy not Via Foxpro, but rather Via the Windows95 operating system. i'm sorry I was'nt to clear on that. but i'm sure the code will come in handy.
>>>
>>
>>SHORTCUT.EXE is not a part of FoxPro - I simply gave some sample code that built a command line for it in Foxpro. You could easily use it in a batch file to modify a shortcut's target directory at the same time the files were copied/moved by the batch file, and you can always modify the shortcut by hand (right click the shortcut, pick Properties, and change the Start In directory under the Shortcut tab.) There's also an API interface to modify/create shortcuts (it's an OLE interface that is most easily accessed via C++) directly. From what you've said, I'd look at building batch files to perform the move/copy, passing the new directory as a command line parameter and using SHORTCUT.EXE to reconstruct/modify the shortcut based on command line parameters within the batch file.
>>
>>Ed
>
>
>Ok, thanks for the Info ed.
>
>Russ

You can use the MS 'Power toys' for this purpose.
One of them add a 'Target' option in the right-click menu.
If you select it, it show you the right-click menu of the
target of the shortcut with the 'copy' option.

HTH :0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform