Windows-Server-2003/tools/sdmove.cmd

5 lines
119 B
Batchfile

@echo off
if "%1" == "" ( echo usage: sdmove oldMapping newMapping & goto :eof )
sd integrate "%1" "%2"
sd delete "%1"