Just a sample of the Echomail archive
[ << oldest | < older | list | newer > | newest >> ]
|  Message 15162  |
|  g00r00 to Mike Fenton  |
|  Re: Mystic Program Question  |
|  05 Jan 23 22:37:03  |
 
TID: Mystic BBS 1.12 A48
MSGID: 1:129/215 d8f262f0
REPLY: 1:129/215 86eb92b8
TZUTC: -0500
Here is a cleaner example of executing a command line up to 1000 characters if
you split it into 4 chunks of 255:
Uses CFG
Function LargeCommand (Name: String; C1, C2, C3, C4: String) : String;
Var
F : File;
Begin
If OSType = 0 or OSType = 4 Then // Windows or OS/2
Name := Name + '.bat'
Else
Name := Name + '.sh';
fAssign (F, CfgTempPath + Name, 66);
fReWrite (F);
fWriteStr (F, C1);
fWriteStr (F, C2);
fWriteStr (F, C3);
fWriteLn (F, C4);
fClose (F);
LargeCommand := CfgTempPath + Name;
End;
Var
Command : String;
Begin
Command := LargeCommand(
'mybatch', // Filename (.bat or .sh will be added)
'Large command line part 1', // Part 1 of long command
'Large command line part 2', // Part 2 of long command
'', // Part 3 of long command
'' // Part 4 of long command
);
// Large command returns the path and filename of the batch file so we can
// take that and execute then delete it:
//MenuCmd ('DD', Command);
//FileErase (Command);
End.
... A book misplaced is a book lost
--- Mystic BBS v1.12 A48 (Windows/64)
* Origin: Sector 7 * Mystic WHQ (1:129/215)
SEEN-BY: 1/123 15/0 90/1 105/81 106/201 114/705 120/340 616 123/10
SEEN-BY: 123/120 131 129/215 305 153/7715 154/10 30 40 50 700 218/700
SEEN-BY: 218/840 220/70 90 221/6 226/17 18 30 70 100 227/114 201 229/110
SEEN-BY: 229/111 112 113 114 206 275 307 310 317 400 424 426 428 452
SEEN-BY: 229/470 550 664 700 250/5 8 266/512 267/800 280/464 282/1038
SEEN-BY: 292/854 298/25 301/1 305/2 3 317/3 320/219 322/757 342/200
SEEN-BY: 396/45 460/58 633/280 712/848 770/1 2320/105 3634/12
PATH: 129/215 154/10 770/1 317/3 229/426
|
[ << oldest | < older | list | newer > | newest >> ]