Changing file names in a set sequence

Changing a name in a sequence of files may pose a bit of a challenge if these are not arranged numerically or alphabetically.  Using the FOR command inside the directory root /R, and referencing a subroutine inside the same code, you are able to process several commands on a list of files, one file at a time. Continúa leyendo Changing file names in a set sequence

Anuncios

Passing more than one parameter to a windows script

Scripts are written in sysadmin to easily perform daily operations. A good practice of code writing is to develop an algorithm based on the process to be performed in such a way that it might be applied to similar operations. To account for this modularity, we have to pass into the script operations values which apply to the specific sysadmin operation we want to perform. Continúa leyendo Passing more than one parameter to a windows script