You are here

Problems with DirectoriesMove

3 posts / 0 new
Last post
_DICE_
Offline
Last seen: 12 years 11 months ago
Joined: 2011-04-02 08:25
Problems with DirectoriesMove

Hi everybody,
I have a problem with DirectoriesMove. I try to copy a directory from my stick to the hard drive.
It should be MyAppPortable\Data\MyDirectory -> "My Documents"

I tried it as mentioned on the site linked above.

[DirectoriesMove]
MyDirectory=%DOCUMENTS%

But this copies everything from "My Documents" to my stick. As a result I exchanged the two parameters.

[DirectoriesMove]
%DOCUMENTS%=MyDirectory

But now nothing happens...

Can someone tell my, what I did wrong?
And is it possible to copy the folder back after closing the Application?
Sometimes the application changes the files in "My Documents" so I should copy them after closing it.

It's ok for me, if this is not possible with the default PortableAppsLauchner. I can write an alternate launcher for that, but I prefer adding some entries to an ini-file.

mjashby
Offline
Last seen: 1 month 4 weeks ago
Developer
Joined: 2008-09-19 13:35
Try this

MyDirectory=%DOCUMENTS%\MyDirectory

_DICE_
Offline
Last seen: 12 years 11 months ago
Joined: 2011-04-02 08:25
Thanks

Thanks, that helped.
A test showed me, that files, which were added to "My Documents\MyFolder" while the application was running, were copied to my stick.
I hope that this happens with modified files too. (Why should it not?)

I think, my questions are answered now.

Thanks again, for the quick help.

_DICE_

Log in or register to post comments