Add commands and functions

Sep 13, 2016
39
0
#1
1. The MEMORY command displays detailed information about memory usage.
Is it possible to add a command or function,
which will only indicate the amount of RAM occupied as a percentage without a percent sign, for example 07 or 45

2. Add a function that returns the model of the hard disk or disks, if there are several - 0,1,2, etc.

3. If possible, add a function that returns the model of RAM modules and the size in megabytes.

4. Add a command to encrypt / decrypt text files.
For example, ENCRYPT filename.txt -password
The password is indicated by the user.
DECRYPT filename.txt -password
The encryption algorithm does not matter - the main thing is to have unreadable text.
 
Aug 23, 2010
277
2
#2
1. You can write that function yourself. (Besides, it won't be very useful, as the MEMORY command does not quite tell whole story.)

2. What do you mean by "model"?
3. What do you mean by "model"?

4. Encrypt how? Using which algorithms/features?
 
Sep 13, 2016
39
0
#3
1. but if I can not?
2. company manufacturer, - eg Seagate Barracuda 7200.14 1TB (ST1000DM003)
3. company manufacturer and memory frequency
4.any algorithm, at the discretion of the developer
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
3,668
46
Albuquerque, NM
prospero.unm.edu
#5
4. Add a command to encrypt / decrypt text files.
For example, ENCRYPT filename.txt -password
The password is indicated by the user.
DECRYPT filename.txt -password
The encryption algorithm does not matter - the main thing is to have unreadable text.
It's not even remotely secure, but if you only need to discourage casual snooping, then @B64ENCODE will scramble text so it can't be easily read.
 
#6
Last edited:
#7
Here's some of it.
Code:
v:\> echo %@winmemory[0]
51

v:\> echo %@wmi[root\cimv2,"select manufacturer,model from Win32_DiskDrive where index=0"]
(Standard disk drives)
ST380815AS ATA Device

v:\> echo %@wmi[root\cimv2,"select manufacturer,model from Win32_DiskDrive where index=1"]
(Standard disk drives)
ST380815AS ATA Device
 
Sep 13, 2016
39
0
#8
Here's some of it.
Code:
v:\> echo %@winmemory[0]
51

v:\> echo %@wmi[root\cimv2,"select manufacturer,model from Win32_DiskDrive where index=0"]
(Standard disk drives)
ST380815AS ATA Device

v:\> echo %@wmi[root\cimv2,"select manufacturer,model from Win32_DiskDrive where index=1"]
(Standard disk drives)
ST380815AS ATA Device

Thank You
 
Oct 18, 2009
208
7
#10
1. The MEMORY command displays detailed information about memory usage.
Is it possible to add a command or function,
which will only indicate the amount of RAM occupied as a percentage without a percent sign, for example 07 or 45

2. Add a function that returns the model of the hard disk or disks, if there are several - 0,1,2, etc.

3. If possible, add a function that returns the model of RAM modules and the size in megabytes.
Keep in mind that TCC is basically intended as a utility language. The vast majority of TCC users would have no need for such specific information from TCC.

Like any software, a company producing software has to budget both the amount of money it can spend on developing a new version, and resources such as programmers' time. It has to correlate these with what a large portion of its customers will actually want, and whether other products from other companies are reasonably available that can already perform a particular function or are available free, for instance in on-line repositories.
 
Jul 8, 2015
1
0
#11
Nowedays you have probably a lot of additional memory options like USB sticks, portable memory, all sorts of cloudmemory, nas's etc. With additonal software lile Netdrive (.com) you can set a drive letter to all sorts of cloud and nas memort.
My wish for enhancement would be a multi copy command, something like:
mcopy filename source(s)

mcopy = multicopy

so:

mcopy test.txt foto.jpg note.pdf to n: s: z:

would be very handy