USB
Booboo
Posts: 109
Joined: Mon Jan 07, 2008 7:21 am

Postby Booboo » Tue May 24, 2011 3:18 am

Can Awasu run from a USB storage device?
Booboo

User avatar
kevotheclone
Posts: 233
Joined: Mon Sep 08, 2008 3:16 pm
Location: Elk Grove, California

Postby kevotheclone » Thu May 26, 2011 8:06 pm

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: Select all

SUBST Z: E:\

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

Code: Select all

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: Select all

@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: Select all

@ECHO OFF

SUBST Z: %~d0\Awasu


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

Code: Select all

@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: Select all

@ECHO OFF

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

Booboo
Posts: 109
Joined: Mon Jan 07, 2008 7:21 am

Postby Booboo » Thu May 26, 2011 8:22 pm

Thanks KTC.

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

User avatar
kevotheclone
Posts: 233
Joined: Mon Sep 08, 2008 3:16 pm
Location: Elk Grove, California

Postby kevotheclone » Thu May 26, 2011 8:30 pm

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.

Booboo
Posts: 109
Joined: Mon Jan 07, 2008 7:21 am

Postby Booboo » Thu May 26, 2011 8:37 pm

Ta. I am now ready to start experimenting.
Booboo

WolgangW

Postby WolgangW » Sun Sep 25, 2011 4:30 am

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

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

User avatar
support
Site Admin
Posts: 2927
Joined: Fri Feb 07, 2003 8:48 am
Location: Melbourne, Australia
Contact:

Postby support » Wed Sep 28, 2011 7:45 am

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.


Return to “Awasu - General Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests