Marko Apfel - Afghanistan/Belgium/Germany

Management, Architecture, Programming, QA, Coach, GIS, EAI

  Home  |   Contact  |   Syndication    |   Login
  187 Posts | 2 Stories | 201 Comments | 4 Trackbacks

News



Twitter | LinkedIn | Xing

Article Categories

Archives

Post Categories

BizTalk

C#

Enterprise Library

SAP

SQL Server

Technologie

Because i often must search for my written DOS-stuff now i would try to write here some interesting lines

Batch which needs an user-input

ECHO ITCC.DLL registrieren?
SET /P X= (J)a oder (N)ein?
IF /I "%X%"=="J" GOTO :ja
IF /I "%X%"=="N" GOTO :nein 
 
:ja
ECHO Registriere
REGSVR32 ".\..\build\HTML Help Workshop\itcc.dll"
ECHO Registriert
GOTO Ende
 
:nein
ECHO Keine Registrierung erfolgt
 
:ende
PAUSE

Working with PUSHD and POPD

PUSHD %CD%
CALL "Copy Ressources.bat"
POPD
 
REM PUSHD ".\..\tools\Sandcastle\"
REM SET DXROOT=%CD%
REM SET Path=%Path%;%CD%
REM POPD
 
PUSHD "
.\..\tools\Sandcastle\ProductionTools\"
SET Path=%Path%;%CD%
POPD
"
.\..\tools\Sandcastle Help File Builder\SandcastleBuilderConsole.exe" EsriDE.Samples.shfb -v
"
.\..\tools\H2Viewer135\H2Viewer.exe" .\work\Output\EgmDevDoc.HxS

IF-Construct

IF NOT EXIST Content MKDIR Content
CD Content

Printing an empty line

ECHO.

Deleting a folder-structure

IF EXIST work RMDIR /S /Q work
posted on Thursday, October 1, 2009 11:22 AM