Page 1 of 1

USB

Posted: Tue May 24, 2011 7:18 am
by Booboo
Can Awasu run from a USB storage device?

Re: USB

Posted: Fri May 27, 2011 12:06 am
by kevotheclone
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

Re: USB

Posted: Fri May 27, 2011 12:22 am
by Booboo
Thanks KTC.

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

Re: USB

Posted: Fri May 27, 2011 12:30 am
by kevotheclone
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.

Re: USB

Posted: Fri May 27, 2011 12:37 am
by Booboo
Ta. I am now ready to start experimenting.

Re: USB

Posted: Sun Sep 25, 2011 8:30 am
by WolgangW
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

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

Re: USB

Posted: Wed Sep 28, 2011 11:45 am
by support
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.