SAMBA--WINDOWS NETLOGON/ batchfile blues!!!
kris.ozzy at lineone.net
Thu Nov 2 22:58:04 GMT 2000
If you are using NT this should work...
copy \\smbsvr\disk_img\tr9032ins\TR9032win386ra7.exe c:\winnt\profiles\%USERNAME%\desktop
check on the client that the variable USERNAME has been set.
Use the SET command. It should look like
Computers are like airconditioners: They stop working
properly if you open windows.
Win95: A 32-bit patch for a 16-bit GUI shell running on top of an
8-bit operating system written for a 4-bit processor by a
2-bit company who cannot stand 1 bit of competition.
From: Gerry Maddock [SMTP:gerrym at futuremetals.com]
Sent: 03 November 2000 10:27
Subject: 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:
I thought the %username% would do the trick, but no luck. Next I tried:
Still no luck!! Does anybody know what I can put there to get this line
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 2951 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-ntdom/attachments/20001102/f7495fad/attachment.bin
More information about the samba-ntdom