You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To reset my delftshell layout I use a batch file with the following content:

if not exist "%USERPROFILE%\Local Settings\Application Data\Deltares" goto end
rd /s /q "%USERPROFILE%\Local Settings\Application Data\Deltares"
:end

it removes the deltares directory containing settings for delftshell.

To toggle my network drive mapping I use the following batch file:

if exist m:\ goto unmap
echo "mapping drives"
echo off
call net use /user:WL\%USERID% M: \\hafilerg.wldelft.nl\win
call net use /user:WL\%USERID% P: \\FILER.wldelft.nl\PROJECT
call net use /user:WL\%USERID% U: \\FILER.wldelft.nl\HOME
call net use /user:WL\%USERID% W: \\WLHOST.wldelft.nl\WL
call net use /user:WL\%USERID% Y: \\WLHOST.wldelft.nl\LIBRARY
goto end
:unmap
echo "unmapping drives"
echo off
call net use  M: /delete
call net use  P: /delete
call net use  U: /delete
call net use  W: /delete
call net use  Y: /delete
:end
echo "goodbye"
  • No labels