SAMBA--WINDOWS NETLOGON/ batchfile blues!!!

RSzczesniak at mis.com.pl RSzczesniak at mis.com.pl
Fri Nov 3 17:38:49 GMT 2000


Are you sure that using path like \\SERVER\SHARE\directory\file
in "copy" program works properly ?
Maybe you should try to mount (ie. map) the share via "net use ...", 
first.


Give me notice if it works.

regards,
rafal




Gerry Maddock <gerrym at futuremetals.com>
Wysłane przez: samba-ntdom-admin at us5.samba.org
00-11-03 11:26

 
        Do:     NTSAMBA <samba-ntdom at us5.samba.org>
        DW: 
        Temat:  SAMBA--WINDOWS NETLOGON/ batchfile blues!!!

    OK, I have Samba running as a PDC, I have a working batch file in
the netlogon share. I was editing my batch file, to automatically add a
new program to all users desktops, but I can't seem to get one line to
work right. If I copy the file to C:\windows\desktop, it works, but my
problem is that all of the users info for their desktop is stored in
C:\windows\profiles\THEIR USER NAME\desktop. Ok this is the line of the
batch file I'm having all the problems with:

copy \\smbsvr\disk_img\tr9032ins\TR9032win386ra7.exe
c:\windows\profiles\%username%\desktop

I thought the %username% would do the trick, but no luck. Next I tried:

copy \\smbsvr\disk_img\tr9032ins\TR9032win386ra7.exe
c:\windows\profiles\*\desktop

Still no luck!! Does anybody know what I can put there to get this line
to work???!!!









More information about the samba-ntdom mailing list