> I believe the new version of Caldera DR-DOS can read long filenames. Unless
> they decided to s*that project. Another way to do it requirres
> programming in PowerBASIC. Just a simple file shell would do. Or you could
> make a batch file that executes on the host machine that does the following.
> DIR >files.txt
> TYPE files.txt
> that MIGHT work. I'm not making any gurantees, as it would require windows
> 95 to be running.
Right, I was thinking about something along those lines.
But since the system has to be running DOS at all times - and because
the files on the system can change - is it somehow possible to get samba
to run a simple shell script that creates the files.txt file on the unix
end just before the session is created (ie, on the dos end a 'net use f:
\\mysystem\myfiles' is executed, and before samba creates the daemon to
handle the process, it creates a list of long file names and matching
8.3 filenames and dumps it in \\mysystem\myfiles\files.txt).
Ideally, it could work the other way, too - say I wanted my DOS program
to create a file with a long filename - all it does is write the 8.3 filename
with the 'requested' long filename and store this in say files2.txt;
then just after samba receives the 'net use f: /delete' request it
process the files2.txt list - rename the 8.3 files to full length.
So the question is simply can I have samba do specific pre-session and post
session processing? All pointers appreciated.