Add commands and functions

Sep 13, 2016
50
0
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
637
9
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
50
0
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
 
3. If possible, add a function that returns the model of RAM modules and the size in megabytes.

Something like CPU-Z provides?

1536673444733.png


Joe
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,466
88
Albuquerque, NM
prospero.unm.edu
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.
 
Last edited:
May 20, 2008
11,414
99
Syracuse, NY, USA
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
50
0
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
362
17
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
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
 
Similar threads
Thread starter Title Forum Replies Date
R Add Custom Message to commands Suggestions 2
S Declined Add /W(ipe) option to several commands Suggestions 17
Joe Caverly Done Add ability to DEL Stream from SYMLINK Suggestions 2
Joe Caverly Add VHD to @drivetype Suggestions 1
R Option to add tcc to Bash profile Suggestions 1
mfarah Declined Implement an "Add TCC to the task bar" in the TCMD installer. Suggestions 2
C Declined Add switch to MOVE to not make empty destination folders. (COPY's /F) Suggestions 4
M Add "ReleaseID" (aka version or build) to ver output Suggestions 2
R Declined In setup, add back/refresh buttons. Suggestions 1
D Done Suggestion: Add VIEW option to open in same position as current window Suggestions 0
D Done BDEBUGGER: add cmdline option to set a breakpoint at a given line Suggestions 0
D Done TCEdit and BDEBUGGER: add cmdline switch to jump to given line Suggestions 2
R Done Add "Evaluate Expression" to Right-Click Context Menu in Batch Debugger Suggestions 3
S Add support for Git auto-completion Suggestions 0
R Declined wish-list: add a command to copy a file to clipboard. Suggestions 17
R Declined Install option: Add File Explorer Run As Adminstrator option Suggestions 14
Dmitry L. Kobyakov Done Add the possibility to comment the ENDIFF Suggestions 11
Charles Dye Declined Windows functions and command: Add syntax to specify HWND directly Suggestions 0
Charles Dye Done @SNAPSHOT: Add option to capture the entire virtual screen Suggestions 0
R Done Add Libraries and Multi-line In-Memory functions to Features List on Website Suggestions 1
R Done Add to Pause Help text re indenting the prompt Suggestions 0
C Done Add ability for inline image files for sendmail or similar Suggestions 2
rps Declined Add auto-load directives to tcmd.ini Suggestions 3
fromano Declined Add library functions to shralias saving feature Suggestions 12
Joe Caverly Add a "Snippet" Menu to CMDebug and TCC Debugger Suggestions 0
D Done Add the ability to control syntax coloring via an environment variable or some other way Suggestions 3
Joe Caverly Add example .BTM code to TCC Debugger and CMDebug Suggestions 1
Alpengreis Done Add "Slow copy" (/WAIT) parameter to SYNC command Suggestions 1
Charles Dye Done MOUNTISO: Add support for VHD / VHDX files Suggestions 5
A Declined Take Command/Debugger as a Visual Studio 2017 add-in/extension Suggestions 4
rps Declined Add optional parameters to @search Suggestions 4
rps Done Add PDIR switches Suggestions 1
rps Declined ECHO -- Add spacing option Suggestions 2
vefatica Done Add log2 to @EVAL Suggestions 3
rps Done Add exclusion ranges to @files Suggestions 0
D Done Add VIEW option to open in same position as current window Suggestions 0
R Done Add a .btm LIBRARY system Suggestions 12
N Done Add display options to new HASH function Suggestions 1
rconn Add a parameter to dir command to handle zip files as folders Suggestions 1
rconn add support for batch file projects Suggestions 0
rconn Add support for backpipes Suggestions 0
rconn Add option to run programs Elevated from toolbar buttons Suggestions 0
rconn In the Help tab let the user add links either to files or web pages, with an icon & label. Suggestions 0
W Done Add colorize to tree command? Suggestions 0
Phileosophos Done Please add options for scrollback buffer searching Suggestions 24
G Declined Add option to turn on file name case sensitivity Suggestions 6
nickles Done Add a "Mark all threads read" button Suggestions 3
B Done Add New INI Directive To Specify WIPE Default Pass Count Suggestions 0
C TC drop-zone to add a tab Suggestions 0
W Done Add an option to control command line parsing Suggestions 7

Similar threads