Information générale
Catégorie:
Réseau & connectivité
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement