about fidonet on a USB memory stick, and the problem of changing drive letters.
That is if I plug a USB memory stick into my computer
it becomes drive F:, but
plugging the same memory stick into the computer at
work, it becomes drive H:.
Any suggestions on how to make Squish, msged,
binkleyterm, binkd, etc operate
in such a fashion that it matters not what the drive
name is, the paths are
sane and make sense to the programs.
I operate mostly on Linux, and Fido is stricly Linux
here, but the computer at
work is WINXP, and has an internet connection.
Things I have considered are;
Setting the drive in a batch file i.e.
Set drive "equals" F
and then writing paths as follows
$drive\squish\msgbase
or ..\squish\msgbase
otherwise writing seperate config files for each program, i.e.
squish.cfg.f
squish.cfg.h
and then run a batch file that will copy one or the other to squish.cfg depending on what drive letter is allocated to the USB drive?
Am I making sense?
Quoting Russell Tiedt to All <=-
@MSGID: <44ECAE0F.1497.tub@vert.synchro.net>
Hello everybody.
Well, I am back online after the telco took 16 days to replace fix the cable a few hundred meters from my wall socket to almost at the
exchange, which leads me to ask,
about fidonet on a USB memory stick, and the problem of changing drive letters.
Any suggestions on how to make Squish, msged,
binkleyterm, binkd, etc operate
in such a fashion that it matters not what the drive
name is, the paths are
sane and make sense to the programs.
Most of the squish, binkleyterm, and I think even binkd control files
can be set up with relative paths specified. There may be one or two spots where it may need a drive letter defined in a windows or OS/2
type environment.
Things I have considered are;
Setting the drive in a batch file i.e.
Set drive "equals" F
and then writing paths as follows
$drive\squish\msgbase
or ..\squish\msgbase
Games like this work in batch files, but not necessarily in the
control files.
otherwise writing seperate config files for each program, i.e.
squish.cfg.f
squish.cfg.h
Use relative paths for most of the stuff in the control files, share
the common control information in one file, and then in use an include statement in the drive specific control file which should have very
few lines..... That is if you can not get by with using all paths in
the control files without drive letters and have the batch file set
the default drive to the memory stick before processing....
and then run a batch file that will copy one or the other to
squish.cfg depending on what drive letter is allocated to the USB
drive?
Am I making sense?
In some ways.
Over the years of expanding disk drive capacity and need to move drive letters around, I tend to now have my batch files setup to use an enivornment parameter for both the drive letter and the base path.
Control files still have too much hard coded in this regard, but are
kept in a form where I can perform a one shot edit of the control
files to change the drive and/or base path specification with a
simple, global edit.....
Good luck....
Quoting Russell Tiedt to All <=-
about fidonet on a USB memory stick, and the problem of changing
drive letters.
[cut]
Why not just install your entire BBS into one directory, eg.
C:\Bbs (or \\bbs (UNC path))
and map that directory to a network drive eg. M:.
That way you could copy your entire C:\Bbs to <anydrive/media>:\Bbs,
and map a network drive to whatever %bbsdrive% you defined.
All the BBS programs/doors would then be run under the mapped drive.
The limitations I've experienced with this approach is when batch
files cannot be used, and where path name & filenames need to be
hardcoded eg. *.cfg files. Or if your desired mapped drive letter is already in use by something else and cannot be changed eg. for
business and/or practical reasons.
Why not just install your entire BBS into one directory, eg.
C:\Bbs (or \\bbs (UNC path))
and map that directory to a network drive eg. M:.
Like the idea ... and maximus runs fine so I assume ...
"M" should be fine on the drives I envsion using, squish is working so far, have not had time for more ...
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,067 |
Nodes: | 17 (0 / 17) |
Uptime: | 15:40:54 |
Calls: | 501,255 |
Calls today: | 2 |
Files: | 109,407 |
D/L today: |
4,506 files (8,308M bytes) |
Messages: | 302,076 |
Posted today: | 1 |