General information
Category:
Networking & connectivity
Yes you can use /y or /yes.
Example:
net time \\server /set /yes
>>>Hi!
>>>
>>>I need to write a script to connect the network drives located in a Windows NT (server) to my computer (Win98/ME - client).
>>>
>>>How I write the script??
>>
>>Create a BAT file and use NET USE command to map the drives. To get help type "net /?" at the command line.
>>
>>example:
>>
>>NET USE Drive: \\ServerName\ShareName
>>
>>Hope this helps
>
>Worked fine, thanks.
>
>I also added NET TIME \\SERVER /SET to synchronize the workstation time with the server time. But I allways have to answer the question "Want to change you ... bla bla bla??" . Is there a /Y otpion that sets the time without asking??
>
>TIA,
>
>Alonso
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only