My question is, what's the best way to deal with this?
I was thinking (And you batch file gawds
please help me here) in the runbbsx.cmd I want to check
to see if a file exists
(Say c:\temp\tinysbbs.rep) and if so run the .cmd file
that has all the -j keystrokes in it.
SH> (Say c:\temp\tinysbbs.rep) and if so run the .cmd file
SH> that has all the -j keystrokes in it. =========================================
if exist c:\temp\tinysbbs.rep runbbsx.cmd =========================================
:aftercall
if exist c:\max\olr\node01\tinysbbs.rep c:\max\doors\trep\upload.cmd
Will that work? the one thing I can't do is write
still tweaking the above as it seems to fail on the
filename of the uploaded file sometimes,
and other times it works.
I think I'm also going to put a quick login button in
the first mecca screen that blasts you
right to the QWK menu to cut down on errors on the
above mess to log in. ;)
SH> if exist c:\max\olr\node01\tinysbbs.rep c:\max\doors\trep\upload.cmd
SH> Will that work? the one thing I can't do is write
I think so.
You could simplify by creating a restricted user eg. "QWKUpload" and
assign it a "QWKUpload" privilege that uses a LoginFile.
upload.cmd:
========================================
maxp.exe -n0 -k -j"QwkUpld;y;{password}" ========================================
Then you can run upload.cmd after each upload, which would allow
multiple uploads per session after the latest *.rep file is cleared. It
would also negate additional input from the user eg. passwords.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,042 |
Nodes: | 15 (0 / 15) |
Uptime: | 144:01:11 |
Calls: | 500,263 |
Calls today: | 1 |
Files: | 95,201 |
D/L today: |
104 files (65,589K bytes) |
Messages: | 464,618 |