View unanswered posts | View active topics

Reply to topic  [ 7 posts ] 
USB

Joined: Mon Jan 07, 2008 7:21 am
Posts: 109
Post USB
Can Awasu run from a USB storage device?

_________________
Booboo


Tue May 24, 2011 3:18 am
Profile
User avatar

Joined: Mon Sep 08, 2008 3:16 pm
Posts: 225
Location: Elk Grove, California
Post Re: USB
Yes you can. Once it's set up it works great, although it is somewhat slower that when run from a hard drive. If you need to you can synchronize your feed read/unread statuses between the two installations.

There's this wiki page on Portable Mode and this one of Moving user data files.

One potential problem that you may encounter if you plug your USB drive into various PCs is that the drive letter may be different on different PCs. The problem and one potential solution are discussed in this forum thread.

I say "one" potential solution, because I have another one; I wrote a small VBScript file that determines the current drive (it must be on the same USB drive as Awasu) makes a few updates to some of Awasu configuration files, and then runs Awasu. My script is probably overkill, because the SUBST command, listed in the forum thread, is really easy to use as long as you can find a common free drive letter on all of your PCs.


On one PC you might do this, if your USB drive shows up as your E drive:
Code:
SUBST Z: E:\

And on another PC you might do this, if your USB drive shows up as your K drive:
Code:
SUBST Z: K:\

In fact you can create a tiny batch file (.bat file extension) stored on the USB that knows the drive letter that it's running from and performs the substitution.
Let's call this MapAwasu.bat:
Code:
@ECHO OFF

SUBST Z: %~d0\

...or even something like this if you want to map the root of the Z: drive directly to the Awasu directory (assuming the Awasu directory is a child of the USB drive's root).
Code:
@ECHO OFF

SUBST Z: %~d0\Awasu


Of course we could add one more command to run Awasu after we substitute the drive:
Code:
@ECHO OFF

SUBST Z: %~d0\Awasu
START "Awasu" Z:\Awasu\Awasu.exe


To remove the substituted drive you could create a UnmapAwasu.bat file:
Code:
@ECHO OFF

SUBST Z: /D


Last edited by kevotheclone on Thu May 26, 2011 8:27 pm, edited 1 time in total.



Thu May 26, 2011 8:06 pm
Profile

Joined: Mon Jan 07, 2008 7:21 am
Posts: 109
Post Re: USB
Thanks KTC.

I assume that I copy and paste my Awasu Program Folder from PC to USB Stick to begin with?

_________________
Booboo


Thu May 26, 2011 8:22 pm
Profile
User avatar

Joined: Mon Sep 08, 2008 3:16 pm
Posts: 225
Location: Elk Grove, California
Post Re: USB
Yes copy the Awasu Program Folder and the Awasu Data files.

By the way, re-read my last post I added an update, that you may not have seen.


Thu May 26, 2011 8:30 pm
Profile

Joined: Mon Jan 07, 2008 7:21 am
Posts: 109
Post Re: USB
Ta. I am now ready to start experimenting.

_________________
Booboo


Thu May 26, 2011 8:37 pm
Profile
Post Re: USB
Hi,
that
@ECHO OFF

SUBST Z: %~d0\Awasu
START "Awasu" Z:\Awasu\Awasu.exe


is fine, but would a batched modification if the config.ini do as well ?
Tx
Wolfgang

----------------------------------------


Sun Sep 25, 2011 4:30 am
Site Admin
User avatar

Joined: Fri Feb 07, 2003 8:48 am
Posts: 2896
Location: Melbourne, Australia
Post Re: USB
lanihymas wrote:
if I know that my USB is under drive E

If your USB drive always has the same drive letter, you don't need to worry about any of this - just create a shortcut directly to the Awasu program.


Wed Sep 28, 2011 7:45 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online
Users browsing this forum: Bing [Bot] and 1 guest

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

Search for:
Jump to:  
cron