Re: scripts



Thomas wrote:

does anyone have any knowledge with logon scripts?

I have created a .bat file and used the following syntax

net use f:\\server\filename

i have placed this in the profile of the user and also placed it in the
sysvol netlogon folder on the server and when the user logs on it does not
work.

do i need the quotation marks? any ideas? thx

I have an FAQ on logon scripts linked here:

http://www.rlmueller.net/LogonScriptFAQ.htm

Specifically, in a batch file the command would be:

net use f: \\server\sharename

where "server" is the name of a server and "sharename" is the name of a
share.

--
Richard
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net


.



Relevant Pages

  • Re: Script
    ... Thomas wrote: ... I have created a .bat file and used the following syntax ... sysvol netlogon folder on the server and when the user logs on it does not ...
    (microsoft.public.scripting.vbscript)
  • Re: Map Network Drive / Profiles
    ... controller for processing a login script. ... Except for the location of the shortcut, you can also use it for Win9x as ... > Why not make a BAT file like this: ... then copying that profile to the default? ...
    (microsoft.public.windowsxp.network_web)
  • Re: Re: Auto Logoff
    ... Where do I run the .bat file? ... see the syntax for IOff.bat from the tip is -> .bat idleminutes folder ... IOff.bat runs in YOUR workstation. ... Windows Server MVP ...
    (microsoft.public.windows.server.active_directory)
  • Re: Automate profile creation
    ... Falconetti Daniel wrote: ... I'm trying to automate the creation of a profile if none exists... ... when I run it by double clicking on a bat file the cmd window stay open until I close it or I close Windows ...
    (microsoft.public.exchange.clients)
  • Re: What is wrong with this BAT File?
    ... I Have a problem with this bat file the two strings with the ** don't work ... remove "nospam" in order to email me. ... This syntax is also OK: ...
    (microsoft.public.windowsxp.general)