Visual Studio every time says loading for first time...
To avoid this do
Click on the Tools > Options
Select "Import and Export Settings",
Edit the path for "Automatically save my settings to this file:" to a path on disk drive but not My Documents or any network drive.
ASP.NET, C#.NET, CruiseControl.NET, Microsoft SQL Server, MS-DOS Batch, MySQL, nAnt, NodeJs, PowerShell, Python, Selenium RC, Redis, WebAii, Ubuntu
Tuesday, May 19, 2009
Wednesday, May 13, 2009
IF Statment for MS-DOS batch file
SET FrontEnd="false"
SET BackEnd="false"
SET Translations="false"
IF %FrontEnd% == "true" GOTO FrontEnd
IF %BackEnd% == "true" GOTO BackEnd
IF %Translations% == "true" GOTO Translations
GOTO END
:FrontEnd
ECHO I am FrontEnd
GOTO END
:BackEnd
ECHO I am BackEnd
GOTO END
:Translations
ECHO I am Translations
GOTO END
:END
SET BackEnd="false"
SET Translations="false"
IF %FrontEnd% == "true" GOTO FrontEnd
IF %BackEnd% == "true" GOTO BackEnd
IF %Translations% == "true" GOTO Translations
GOTO END
:FrontEnd
ECHO I am FrontEnd
GOTO END
:BackEnd
ECHO I am BackEnd
GOTO END
:Translations
ECHO I am Translations
GOTO END
:END
SET and GET values in DOS Batch file
Set a variable in DOS Batch file using following syntax
SET myVariable="Hello"
Get the value of the variable in DOS Batch file using following syntax
%myVariable%
SET myVariable="Hello"
Get the value of the variable in DOS Batch file using following syntax
%myVariable%
Subscribe to:
Posts (Atom)