mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2008
Posts: 329
A
AWEstun Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: May 2008
Posts: 329
I was wondering if I could put my scripts and data on a USB flash/mini drive? This way I could use them on different computers, yet still have the latest updated scripts/data. For example, when I'm working at the computer I use the powerful almightly desktop, but when I'm doing other things, like sleeping, I could run a much smaller laptop. Would this work? The only thing concerning me is that the USB drive would be a different drive letter on each computer. I guess I could set up an autobat to upload the info to the computer and mIRC's directory. Then save the scripts/data back to the USB drive upon exit. Is there a better way?

EDIT: I guess I could assign the same upper non-used drive letter to it on each computer I use it.


I registered; you should too.
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Why don't you run mIRC completely off your USB stick like I do, 100% of mirc is ran off my usb stick so wherever I go my mirc follows me with all the scripts pre-loaded

What I did during the mirc install is instead of it writting to C:\program files\ blah i changed the drive letter corresponding to the flash drive then wrote all my scripts since.


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: May 2008
Posts: 329
A
AWEstun Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: May 2008
Posts: 329
Hum, so it doesn't matter what drive letter the USB stick gets on a different computer since you are launching mIRC from the USB stick, right?


I registered; you should too.
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Originally Posted By: AWEstun
Hum, so it doesn't matter what drive letter the USB stick gets on a different computer since you are launching mIRC from the USB stick, right?

mIRC will work fine. Your scripts may not, depending on whether or not they use hardcoded paths.

Joined: May 2008
Posts: 329
A
AWEstun Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: May 2008
Posts: 329
Originally Posted By: Collective
Originally Posted By: AWEstun
Hum, so it doesn't matter what drive letter the USB stick gets on a different computer since you are launching mIRC from the USB stick, right?

mIRC will work fine. Your scripts may not, depending on whether or not they use hardcoded paths.


They don't.


I registered; you should too.
Joined: Apr 2003
Posts: 342
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Apr 2003
Posts: 342
If you are going to run mIRC off a flash drive on seperate computers... make sure you use it with the command line switch "-portable" when you run it. This tells it to install/use the directory mIRC is installed in to save the mirc.ini (and scripts and all that jazz), as well as tell it not to use the registry.


Beware of MeStinkBAD! He knows more than he actually does!
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
If your scripts don't work they're loaded by hardcoded paths. reload them using relative paths and make sure this is reflected in mirc.ini in the [afiles] [rfiles] and [pfiles] sections. (You could do this manually too). You don't need -portable to load the mirc.ini from the same directory, this is done automatically if it's there.. you might need it to avoid using the registry though.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: May 2008
Posts: 329
A
AWEstun Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: May 2008
Posts: 329
Originally Posted By: MeStinkBAD
If you are going to run mIRC off a flash drive on seperate computers... make sure you use it with the command line switch "-portable" when you run it. This tells it to install/use the directory mIRC is installed in to save the mirc.ini (and scripts and all that jazz), as well as tell it not to use the registry.


Thanks for that tip.


I registered; you should too.
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
that's why when your running a portable version of MIRC you should always write your scripts with $mircdir instead of H:\ etc.. or whatever


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
$scriptdir please.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
$mircdir please (or a subdirectory of it).


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Or a healthy mix of both as your very explanation suggests.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard