Announcement
Collapse
No announcement yet.
User profile location (how to file copy or move)
Collapse
X
-
Hi Kasito,
Here is a link to a Demo that will move your app from program files to user profile roaming.
It first creates a folder then with button click moves to user's folder , please note on closing will delete folders from computer
Page 2 contains how to use a dll file to show special folders and also there is a button to extract apz with full code
Link: https://ln2.********/dl/b7f99ac60/jg...nmsg4-dzrka6n6
Cheers
-
👍 1
Leave a comment:
-
-
ops syntax error
that's right
Code:sel = Dialog.FolderBrowse("Select a Folder:", _DesktopFolder); dest = Dialog.FolderBrowse("Select a folder:", _DesktopFolder.."\\destfolder"); DLL.CallFunction("AutoPlay\\Docs\\FldrActn.dll", "MoveFolder", "\"" .. sel .. "\"" .. ",\"" .. dest .. "\",1,1", DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL)
Leave a comment:
-
-
you can just use Folder Action DLL (FldrActn.dll)
Code:select = Dialog.FolderBrowse("Select a Folder:", _DesktopFolder); destination = Dialog.FolderBrowse("Please select a folder:", _FesktopFolder.."\\destfolder"); DLL.CallFunction("AutoPlay\\Docs\\FldrActn.dll", "MoveFolder", "\"" .. sel .. "\"" .. ",\"" .. dest .. "\",1,1", DLL_RETURN_TYPE_STRING, DLL_CALL_STDCALL)
DLL Export Functions
Leave a comment:
-
-
User profile location (how to file copy or move)
Hello I'm having a challenge, My challenge is in AMS; I want programmatically move or copy a folder from app rootfolder to User profile location on client computer.
C:\\Users\YourName\\file.dat
Can this be possible with a variable like %UserProfile%
Or is it possible in setup factory? Though, I would prefer this in AMS.
I will appreciate any support with example if possible.
Thanks.
Tags: None
-
Leave a comment: