Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Briefcase Type folder

Status
Not open for further replies.

ramanjain

Programmer
May 6, 2015
12
IN
Hi Experts,
Some one have idea how can create and update 'Briefcase' type folder on Windows XP SP3 in VFP 9?

Any windows command or API command present for control Briefcase type folder.


regards



thanks in advance
 
Tell us more about what you want to achieve.

Do you want to be able to move files into an actual Windows Briefcase folder? If so, then you can treat it just like any other folder. Use the VFP COPY FILE or RENAME commands, or the DOS COPY or MOVE commands, to place the file in the folder.

Do you want to programmatically create a Windows Briefcase folder? If so, first create a new folder in the usual way (with the VFP or DOS MD or MKDIR command). To give it the properties of a briefcase, you need to store a special DESKTOP.INI file in it. For details, see
Or, do you want to provide your users with a facility for synchronising their files, but not necessarily as part of the built-in briefcase mechanism? In that case, you will need to specify in more detail what you want to achieve.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Mike, I tried going the way the wikipedia article says and the folder does not become a briefcase folder just by adding the desktop.ini
On the other hand I created a briefcase folder manually and the desktop.ini in it differs slightly from what wikipedia says. Nevertheless applying that desktop.ini to yet another folder also does not work.

There's more to it, I found there is a syncui.dll, that is supposed to include a Briefcase_Create function, but that entry point is not found.

The article also says the briefcase has deprecated in windows 8, but I am also not able to do this on Win7.

You may give it a try on XP, ramanjain: rundll32.exe syncui.dll,Briefcase_Create

Otherwise there is OneDrive, DropBox, GoogleDrive and more like these and if you don't trust these services you can encrypt your files automatically before syncing them via Cloud Drives, when using Boxcryptor as a preprocessing tool.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top