Questions tagged as 'ms-dos'

3
answers

How to handle accent in .bat files?

Good morning! I'm having a hard time copying a file from one folder to another with the copy command. I'm using UTF-8 Encoding, but cmd can not handle the accent to line below: copy "C:\SVN\Makro\Templates e Orientações operacionais - Te...
asked by 03.12.2015 / 13:41
0
answers

What is the high memory area in DOS? [closed]

I am studying about memory management in DOS, and I have not found much information on what exactly is understood in this area of memory. Thanks.     
asked by 11.11.2014 / 19:14
2
answers

How to block a site with Delphi, vbs or msdos?

I have a system for monitoring and monitoring users and would like to block a site using Delphi or even MSDOS or VBS commands, or even using Sockets (I do not know if it's possible)? What I have for now is this: Delphi var dd: TextFile...
asked by 28.12.2015 / 18:46
1
answer

What is DelayedExpansion and why is it not enabled by default?

Generally when creating a batch that uses any block of code, such as loops for or if , we end up going through this problem and then we discover the need to set EnableDelayedExpansion . Codes like this generate errors at ea...
asked by 22.02.2017 / 13:48
2
answers

Run command for each file in a directory in MS-DOS

I am making a small bat to break a branch on an application that I am mounting, where it should execute sql scripts inside the MySQL database. The problem is that I have to edit this bat every time I insert a new script and this ends getting ann...
asked by 17.12.2015 / 00:39
2
answers

Operations with dates

It's been a long time since I moved with VBS , so I thought of doing only command line, I'm going to delete files from 6 months ago, as the files I'm managing have names on the basis of date that were generated: bkp_201605.xml log_201601.t...
asked by 08.03.2018 / 01:05
1
answer

Command For not working

I'm trying to run the for command at the command prompt to delete all my files that have the text "< cd_comiss>P< /cd_comiss>" , assigning them to a %%e variable, but it returns me that %e was unexpected at this point....
asked by 16.06.2017 / 18:39
1
answer

View Log with TYPE command

I'm using the type command to display a point log in the company, but it does not show the contents of the entire log, just the last lines. type C:\PASTA\LOG-TESTE.log @echo off pause The parameter | MORE in the type command does not wo...
asked by 19.09.2018 / 15:05
1
answer

Identify which partition is running the script

In the case of prompt of command we can use Windows environment variables to advance paths, such as: echo %homedrive% That will result in the attribute letter where sistema operacional was installed. But to tell you the tru...
asked by 03.03.2018 / 03:58
1
answer

Apply recursion in a batch script

Some time ago, I had to use Microsoft Office Document Imaging to convert a document template created in Microsoft Word as an anti-copy prevention measure for the template itself (positioning, , settings, and so on.) But the application in q...
asked by 08.08.2014 / 22:36