I am trying to find a way to set a variable in the cmd that is "permanent".
What I mean is that I could set the variable %message% to "hello", and I could close the cmd, open it up a week later and if I typed this:
This would be the result
Using the normal SET command will only set the variable for the time the cmd is open. I need to set the variable within the system so that it will stay if I close the cmd.
What I mean is that I could set the variable %message% to "hello", and I could close the cmd, open it up a week later and if I typed this:
Code:
echo %message%
Code:
hello
Using the normal SET command will only set the variable for the time the cmd is open. I need to set the variable within the system so that it will stay if I close the cmd.
My Computer
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Custom Build
- OS
- PA - Pennsylvania
- CPU
- AMD Phenom(tm) II X6 1045T Processor
- Motherboard
- Gigabyte Technology Co., Ltd. GA-970A-UD3
- Memory
- 16.00 GB
- Graphics Card(s)
- NVIDIA GeForce GT 430
- Sound Card
- (1) NVIDIA High Definition Audio (2) High Definition Audio
- Monitor(s) Displays
- Samsung Syncmaster 24" LED Monitor
- Screen Resolution
- 1920x1080
- Hard Drives
- WDC WD5000AAKX-00ERMA0 ATA Device
- Case
- Tiveco Ghost Series GHO-001BL
- Cooling
- A really big fan
- Keyboard
- ASUS KB2621
- Mouse
- Logitech M305
- Internet Speed
- Far too slow
- Antivirus
- Microsoft Security Essentials
- Browser
- Google Chrome