Posts

Showing posts from October, 2017

LOAD &/OR SAVE VARIABLE

Hi, here is a script that i wrote recently it saves and reads variables. The main command used is the "IF" COMMAND. The bat script below creates a save file to save the values to (if used for the first time on that user account), otherwise, it reads a saved value from a file "setvar.bat", arithmetically adds the current time(s) run to the already saved value of the number of times run in that account. In other words this script Reads and Saves the values of the number of times the script has run in that account. Follow the below procedure carefully. Click to view all Commands    View all commands 1) Open Notepad.exe 2) Copy the below to notepad ( Please copy, positioning of text might change if you type it yourself) 3) Save the file as "Load.bat" 4) Run as Administrator (right-click on file and left click on run as Administrator). ========================================================================== @echo off :: Check OS version IF NOT...

Windows Command Prompts All Commands

Image
Windows Command Prompt help Windows commands Microsoft Windows [Version 6.1.7600] ATTRIB     Displays or changes file attributes. BREAK     Sets or clears extended CTRL+C checking. BCDEDIT     Sets properties in boot database to control boot loading. CACLS     Displays or modifies access control lists (ACLs) of files. CALL     Calls one batch program from another. CD     Displays the name of or changes the current directory. CHCP     Displays or sets the active code page number. CHDIR     Displays the name of or changes the current directory. CHKDSK     Checks a disk and displays a status report. CHKNTFS     Displays or modifies the checking of disk at boot time. CLS     Clears the screen. CMD     Starts a new instance of the Windows command interpreter. COLOR ...