Questions tagged as 'cmd'

1
answer

How to write an Event without using visual studio (in .cs or simply a .txt file)

I'm trying to write a Enter Event for TB1 (textbox) This code for Form1 (in Form1.cs) , would normally write it with the help of Designer: using System; using System.Windows.Forms; namespace Project1 { // aq...
asked by 26.09.2018 / 23:01
1
answer

Error creating application with create-react-app

I installed the create-react-app all right, but when you tried to create a project using the hello-world create-react-app command it gives the following error: C:\Users\j.santos.da.silva\Desktop\curso-angular>create-react-app hello-world...
asked by 12.06.2018 / 17:39
1
answer

Save current date -X days in a variable

I have a folder that saves thousands of log files daily and when it is necessary to search for a file by date and time it is a sacrifice. I have a folder that I want to save to the folder where I want to save the current files. I have to do a...
asked by 26.04.2018 / 23:01
1
answer

Delete certmgr certificate from the command prompt

I need to exclude certain certificates from my computer so they do not disturb my vba automation system, but I did not find anything that could give me a glimpse of how to do this by programming or by cmd line. I am currently using VBA to perfor...
asked by 02.02.2018 / 19:28
1
answer

Copy of folders with CMD space

Hello, I want to know how to copy a folder named with space in the CMD, but the command is inside double quotation marks and it does not accept another double quote inside, for example, I tried the following ways and none of them worked, Can som...
asked by 15.01.2018 / 22:17
1
answer

how to disappear CMD window after using os.system in python

I have a code in Python 2.7 that opens a PDF with os.system('meuarquivo.pdf') and it opens up right. However when opening the file it also opens an empty CMD window. Is there any way I can close this window or prevent it from appearing?...
asked by 27.12.2017 / 17:00
1
answer

Problem with python executable generated by pyinstaller

I made simple python software with graphical interface. I did the build with pyinstaller and when I try to open the generated executable, the windows command prompt is also opened every time. I have already been instructed to change the file ext...
asked by 03.01.2018 / 14:20
1
answer

Problems trying to list csv

Hello, I'm trying to read csv files from a folder via script. via browser it shows me the correct values of the array, however via CLI it presents me with an empty array. Follow the code $files = glob('*.csv'); var_dump($files); Outpu...
asked by 20.02.2018 / 15:32
1
answer

Clear only one line from a batch file

My question is whether there is any way to delete just one line from several. For example : The command prints three numbers on the prompt screen: echo 1 echo 2 echo 3 And then, it just deletes the printed "2", and the other two numbers a...
asked by 03.12.2017 / 17:48
1
answer

Save the value of a variable abroad and then import it into Batch

If I create a variable like this: set /a EXEMPLO=1 "EXAMPLE" is 1, how can I save this information on the outside (in a file) and then import that value again into the same command? So, after closing the command prompt, I can "read" the val...
asked by 09.12.2017 / 19:07