Table of Contents

Overview

Windows Network

Mapping a Networkdrive via commandline:

@ECHO off
ECHO Bitte einen Moment warten...
ping 192.168.1.1 -n 5
:START
ECHO **************************************************
ECHO DELETE EXISTING NETCONNECTION....
ECHO **************************************************
NET USE * /DELETE /Y > NUL
ping 192.168.1.1 -n 5
ECHO **************************************************
ECHO Connecting....
ECHO **************************************************
ECHO %USERNAME% is logging in
SET ERRORLEVEL=
rem NET USE U: \\192.168.1.1\windows_share /persistent:yes /USER:tmade 
NET USE U: \\192.168.1.1\windows_share /persistent:yes 
IF NOT "%ERRORLEVEL%"=="0" GOTO FPASSWORT
IF "%ERRORLEVEL%"=="0" GOTO ENDE


:FPASSWORT
ECHO **************************************************
ECHO Passwort erneut eingeben!
ECHO **************************************************
goto START

:ENDE
ECHO **************************************************
ECHO done! USB-Laufwerk verbunden!
ECHO **************************************************

ROUTE ADD

route add 192.168.3.0 mask 255.255.255.0 10.6.0.1 metric 1
windows/network.txt · Last modified: 2017/12/09 01:19 by 127.0.0.1
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki