[Samba] Problem with script logon

Dragos Delcea dragos.delcea at farmexim.ro
Sun Feb 10 23:38:03 GMT 2002


hello,
use:
NET USE F: \\SERVER\TEST /YES
and be sure to have dos style line endings.

dragos



Frank Fürst wrote:

> "Cleiton L. Siqueira" <cleiton at colegiomonjolo.com.br> schrieb:
> 
> 
>>Dear,
>>
>>
>>I've had a problem with my Samba Server. I've installed it in my FreeBSD 4.2 box.
>>The script logon is running in the Windows 98, but it isn't mapping the drive.
>>My script is test.bat and is written the following line into the script:
>>
>>NET USE F: \\SERVER\TEST
>>
>>When the script runs, it returns me that the share doesn't exist or is
>>written wrong.  Therefore, If I run the same command NET USE F:
>>\\SERVER\TEST in a DOS prompt, it gets to map the drive.  
>>
> 
> What happens if you double-click on the script? The batch file needs DOS
> CR-LF line endings.
> 
> Bye, Frank
> 
> 
> 






More information about the samba mailing list