2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
20th November 2014, 01:39 PM
Super Moderator
 
Join Date: Apr 2013
Re: Details about Window Environment

Environment variables are mainly used within batch files, which can be created, modified and deleted by using SET command for a session. To make permanent changes, use SETX

Variables can be displayed using either SET or ECHO.

The variable name can include spaces, punctuation and mixed case: %_Another Ex.ample%

Variables have a percent sign on both sides: %ThisIsAVariable%

In a batch file the default behaviour is to read and expand variables one line at a time, for example:

SET /P _price="Enter the price: "
ECHO %_price%

For detailed information , here is the attachment

Window Environment Details
Attached Files
File Type: doc Window Environment Details.doc (61.0 KB, 106 views)


Quick Reply
Your Username: Click here to log in

Message:
Options

Thread Tools Search this Thread



All times are GMT +5. The time now is 04:27 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4