Softvoile support forum

It is currently Sat May 25, 2013 4:21 am

All times are UTC




Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: How to make Clipdiary portable
PostPosted: Tue Nov 11, 2008 7:12 pm 
Offline
Site Admin

Joined: Tue Feb 17, 2004 12:49 am
Posts: 587
hi

I think it will be realized in the end of this month.

_________________
Best regards, Tiushkov Nikolay


Top
 Profile  
Reply with quote  
 Post subject: Re: How to make Clipdiary portable
PostPosted: Sat Dec 06, 2008 12:34 am 
i don't want to set the user profile location to the root of the drive so wrote this in the .bat file:
set USERPROFILE=E:\programs\portable software\Clipdiary Portable\

and ClipDiary still creates it's database at the root of the drive... how can i fix this??


Top
  
Reply with quote  
 Post subject: Re: How to make Clipdiary portable
PostPosted: Sat Dec 06, 2008 8:25 am 
Offline
Site Admin

Joined: Tue Feb 17, 2004 12:49 am
Posts: 587
Hi

I don't know exactly, but maybe you need quote the path
set USERPROFILE="E:\programs\portable software\Clipdiary Portable\"

_________________
Best regards, Tiushkov Nikolay


Top
 Profile  
Reply with quote  
 Post subject: Re: How to make Clipdiary portable
PostPosted: Sat Dec 06, 2008 3:43 pm 
nope... doesnt work either with quotes... well i guess i'll have to wait for the 2.0 release which you said will have the portable feature integrated.

anyway thanks for doing this for free!! the world need more people like you man...

respect,
Cristian.


Top
  
Reply with quote  
 Post subject: Re: How to make Clipdiary portable
PostPosted: Sat Dec 13, 2008 11:04 pm 
Guest wrote:
i don't want to set the user profile location to the root of the drive so wrote this in the .bat file:
set USERPROFILE=E:\programs\portable software\Clipdiary Portable\

and ClipDiary still creates it's database at the root of the drive... how can i fix this??

You are wrong about this -- the batch file indicated previously in this thread sets the user profile dir to the root of ClipDiary drive only in order to fool the program. The directory used is in fact the location of the executable and of the database. :!: :roll:


Top
  
Reply with quote  
 Post subject: Re: How to make Clipdiary portable
PostPosted: Mon Dec 15, 2008 2:13 pm 
@"Guest" from "Sat Dec 06":
Did you follow step 5. of the procedure here (viewtopic.php?p=1309#p1309) or, alternatively, edit ClipDiary's Options database tab to set the new location?

Additionally, here's my hstart link properties string:
[Drive]:\[Clipdiary's path]\hstart.exe /NOCONSOLE /SHELL /WAIT /MSG="ClipDiary Started." /TITLE="Success!" /ERRMSG="ClipDiary could NOT be started!" /ERRTITLE="ERROR!" Run-ClipDiary.bat

Run-ClipDiary.bat is, of course, the batch file containing the commands mentioned in the post referenced...


Top
  
Reply with quote  
 Post subject: Re: How to make Clipdiary portable
PostPosted: Thu Jan 08, 2009 9:36 am 
The USERPROFILE directory must contain a directory named "Application Data" for this to work with version 1.98. The 'DBPath=diary.sql' change is not needed anymore.


Top
  
Reply with quote  
 Post subject: Re: How to make Clipdiary portable
PostPosted: Fri Jan 09, 2009 10:03 am 
Here is a step by step guide how to make version 1.98 portable (and probably later versions aswell).

1. Install clipdiary normally and run once;

2. Close by selecting File|Exit from menu (don't do escape or click window upper right x button, program will only minimize);

3. Find clipdiary install folder and copy it elsewhere (to USB drive, for example, if that's where you intend to run it);

4. In this folder created in step 3, make a new text file, name it clipdiary.bat and paste the following code into it.

Code:
@echo off

rem Make local environment for variables;
setlocal

rem Change the current directory to the location of the batch file;
rem Remember: Batch (.bat) file should reside in same folder as exe;
cd /d %~dp0

rem Create the required directory if it doesn't exists
if exist "Application Data" goto :aftermkdir
mkdir "Application Data"
:aftermkdir

rem Set the User Profile directory to the current location of the batchfile
set USERPROFILE=%~dp0

@echo Launching ClipDiary...
@echo Your diary is stored in %USERPROFILE%Application Data\ClipDiary
start ClipDiary.exe

rem Exit local environment;
endlocal


5. Double click clipdiary.bat to start Clipdiary.

... And you're all set (again).


Top
  
Reply with quote  
 Post subject: Re: How to make Clipdiary portable
PostPosted: Fri Jan 09, 2009 10:24 am 
Offline
Site Admin

Joined: Tue Feb 17, 2004 12:49 am
Posts: 587
Hi

Eelco, thanks for this guide.
Normal support of portable mode will be added in 2.0.

_________________
Best regards, Tiushkov Nikolay


Top
 Profile  
Reply with quote  
 Post subject: Re: How to make Clipdiary portable
PostPosted: Mon Jan 12, 2009 9:40 am 
Your welcome.


Top
  
Reply with quote  
 Post subject: Re: How to make Clipdiary portable
PostPosted: Sat Jan 24, 2009 8:54 am 
Offline
Site Admin

Joined: Tue Feb 17, 2004 12:49 am
Posts: 587
Hi,

Starting from Clipdiary 2.0 you can use the ClipdiaryPortable.bat (located in C:\Program Files\Clipdiary\) to run Clipdiary in portable mode.

1. Create new folder at your USB disc.
2. Copy all files from C:\Program Files\Clipdiary\ to this new folder.
3. Optional, сopy all files from "C:\Documents and Settings\<User Name>\Application Data\Clipdiary\".
4. Use ClipdiaryPortable.bat to start Clipdiary.


Top
 Profile  
Reply with quote  
 Post subject: Re: How to make Clipdiary portable
PostPosted: Mon Dec 07, 2009 8:08 am 
Offline
Site Admin

Joined: Tue Feb 17, 2004 12:49 am
Posts: 587
Hello

Now you can just download portable version of our clipboard manager and use it from usb drive or any folder without installation.

_________________
Best regards, Tiushkov Nikolay


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 0 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group