[Samba] Windows NT, long filenames, drag-n-drop, file not found

Christian Anders C.Anders at gmx.de
Tue Jan 27 07:36:40 GMT 2004


Hi,

I have a problem using drag-n-drop with files that are located on samba
shares, 
and that are not following the Dos 8.3 file convention, with a cmd-file on a
Windows NT Workstation.

I am running Windows NT Workstation with Service Pack 6a in connection with
Samba 2.2.8a shares

on Suse Linux 9.0 Kernel 2.4.21-166. 

By double clicking such a file with a suffix like mdb, doc or xls the
programs associated
with these suffixes will open and load the files without any problems.

Here comes the problem: On the NT Workstation I have a small cmd-file.

@ECHO OFF
ECHO "%1"
copy "%1" c:\
pause

When I am using the file as follows 

test.cmd H:\1234567890.mdb  

test will copy the file from the samba share to drive c:. No Problem.

Now using drag-n-drop H:\1234567890.mdb onto the icon of test.cmd
results in the following messages



"H:\1234567890.M"
The system cannot find file .....

0 File(s) copied


The problem is specific to Windows NT Clients. It does not occur on Windows
XP clients.
The problem is specific to Samba Server. It does not occur on Windows
Servers.
I can switch that problem on and off with samba parameter mangled names.
But it not possible to configure mangled names = yes. So I am looking for
a solution within Windows.



Thanks in advance


-- 
+++ GMX - die erste Adresse für Mail, Message, More +++
Bis 31.1.: TopMail + Digicam für nur 29 EUR http://www.gmx.net/topmail



More information about the samba mailing list