Most voted "prompt" questions
61 questions
Sort by count of
-
5
votes1
answer552
viewsCMD WINDOWS commands
I don’t know if you can ask questions about this subject, but I’m having difficulties to open the file continuously on Windows CMD. When I use Linux just do this: tail -f…
-
5
votes2
answers4322
viewsHow to make decision structure to change color in a bat?
Hello, I would like to know how to make a decision in the following situation: I have a cmd window with a constant ping, I wanted the script to analyze when the ping is normal the letters of cmd are…
-
5
votes4
answers10576
viewsTo create a folder named after the current date in Windows cmd.exe
What I already have: %date% is the windows variable that stores the current date. When I use echo %date% the value Tue 07/25/2017 is correctly printed. But when I try to do mkdir %date% the created…
-
4
votes1
answer2484
viewsDefault prompt opening directory in Node.js
How do I make Node.js always open in a directory that I want? I’m new to this technology. I wanted to know how to change the standard path opening, because currently it always opens in…
-
4
votes3
answers8272
viewsHow to call external command with Python?
How can I call an external command in Python, as if it ran in the Unix shell or Windows prompt?
-
4
votes1
answer663
viewsProblems installing the Ionic Framework
I am beginner with the framework Ionic and I’m having a problem trying to do the installation. Recently I had to format my computer and now I am not able to install the framework again. When I run…
-
4
votes1
answer9015
viewsHow to create a. BAT configuration file in windows?
I am automating some processes on a Windows server, and would like to create some files. bat for this but for such would be necessary the . BAT were able to read a configuration file so I did the…
-
4
votes1
answer496
viewsAddress and UDP destination ports do not appear
I’m creating in PHP a page that tracks UDP packet traffic from my machine. My intention was to get the list so: ____________________________________________________________________________ | Proto |…
-
4
votes3
answers1204
viewsCreate bat to move files returned by findstr
Good afternoon to all! I have come across a daily problem where, I have several . xml to open and check if these have tags: < desc_produto >Riscos< /desc_Produto >" or <…
-
4
votes1
answer1080
viewsHow to allow only numbers in a javascript prompt?
I want me to be able to put only numbers when inserting something in the prompt. var count = prompt("Teste"); How can I do it?
-
3
votes2
answers22624
views -
3
votes2
answers402
views -
3
votes2
answers604
viewsCommand prompt with React-Native
People progamo em React - Native and every time I access the CMD to run the React I have to do a series of procedures that I will write below Does anyone know any way to create a bat that already…
-
2
votes1
answer111
viewsHow to identify the type of data the user typed in a prompt or input?
I started studying JS 3 weeks ago and am well apprenticed... My biggest current duplicitous is that I don’t know an operator or command to identify and condition the value of the data type entered…
-
2
votes2
answers1688
views -
2
votes1
answer1052
viewsReturn File Name in Batch
Is it possible to return the name of a file/program by a bat? Type by dragging it to the bat or run by the bat, it returns the name.
-
2
votes0
answers153
viewsHow to run a Java application with Play framework at the prompt?
I have a large system developed in Java using the Play, but this system was developed in the Linux, and now I need to spin it in Windows. There is a script to compile on Linux (run.sh.template). I…
-
2
votes1
answer93
viewsProgrammatically uninstall hidden devices
Uninstall hidden devices manually: Device Manager Doors (COM and LPT View Menu → Show Hidden Devices Uninstall device (The name is no longer reserved) As you can see, I know the steps necessary to…
-
2
votes1
answer455
viewsReturn Result of an IF executed by Command Prompt(CMD) in C#
Hello, I’m trying to get a return from an IF line from Command Prompt (CMD) with Visual Studio 2015 in C#, but I’m not getting it. The following Code, runs the CMD, inserts the directory path that…
-
2
votes1
answer172
viewsExecutable with Hidden console opening console
I’m making a code that uses libraries a lot the and sys. When I was converting to executable (.exe) I used pyinstaller to hide the command prompt but still remains a prompt open during the long run…
-
2
votes2
answers2019
viewsAutomatic download by bat - View file date before download
I want to create a script at windows prompt to update the system automatically. But I only want to download if you have new update. Could anyone tell me how I could check the file date (.rar) before…
-
2
votes0
answers84
viewsBatch to delete multiple users
Good afternoon, So, I have to do a weekly wipe on a machine that is connected to a domain, and delete all of its (network) users. My plan of action was to create a Batch that delete all user folders…
-
1
votes1
answer1552
viewsError checking Digital Signature - "Unable to load Private Key"
Creating a Digital Signature requires: - Private Key. - Public Key. - HASH of the file to be Signed. I’m using the following algorithm for the process: Source:…
-
1
votes1
answer1575
viewsHow to run java at the Eclipse prompt
I made a code in java and in it I use " r" that only works at the prompt and I would like to know how to run this code at the prompt by the eclipse itself.
-
1
votes2
answers179
viewsSet position Cursor Windows & Linux with same code
I’m developing a cross-platform application. For this I would like to develop with the minimum of "ifdefs" possible, and what I need to do is basically a fixed screen of 32 x 16 characters. But for…
-
1
votes0
answers46
viewsHow to prevent the console from running twice?
I have had this same problem in other computers of mine, and even in other Ids as well. The following happens: When I finish writing my C code and executing it, first appears a prompt for about five…
-
1
votes0
answers32
viewsPrompt on android Lollipop with misaligned button
I have a problem in a prompt, on Android Kitkat (19) or previous version looks like this: But in Lollipop or newer versions it is misaligned: Follow the code of the Lieutenant who makes this code:…
-
1
votes1
answer3765
viewsSearching and Separating Files Using . bat
I have a daily/monthly process where, I have a . txt that has a list of about 10,000 file Ids (one ID per line) (exemplo_content_file . txt) { 12345 23456 34567 45678 56789 } Each file ID (ex:…
-
1
votes2
answers294
viewsBoost Performance Bat
Currently I have a . bat that runs copying files from the network from one server to another. This made a job that was done manually much easier, but I noticed that by removing some increments…
-
1
votes0
answers909
viewsHow to run (interact) prompt commands by Java?(Linux and Windows)
Hey, you guys. I need to develop a java program that runs commands as if it were on promt/cmd, and in a way even interact with it. Do you know when we run some kind of command at the prompt and it…
-
1
votes1
answer15411
viewsCreating a . BAT and executing the code with administrator privileges
How do a . bat and run and line code as ADM directly via code ?
promptasked 7 years ago Bruno Felipe Kouuds 185 -
1
votes1
answer1352
viewsDelete Certmgr certificate by command prompt
I need to delete certain certificates from the computer so that they do not disturb my a vba automation system, however I have not found anything that can give me a light how to do it by programming…
-
1
votes2
answers700
viewsFailed to execute "cmake." command at the prompt
I’m studying object detection with Python and Dlib and for that I need to compile the imglab folder inside the directory: "dlib-19.17 tools imglab" from the dlib-19.7 file I downloaded from the…
-
1
votes2
answers520
viewsCreate . jar of a multi-package project, without IDE and on the command line
When doing a search for the websites of Stack Overflow, I realized that all topics only teach how to create the file . jar of a single class or even teach how to create the . jar of an entire…
-
1
votes1
answer95
viewspdftocar: How to save the help text in text file from the prompt?
I would like to save the help text of the program pdftocairo located in the installation subfolders of the MiKTeX for Windows. The command pdftocairo --help > help_pdftocairo.txt, which should…
-
1
votes1
answer120
viewsCmd - query and export in single file. Sql
I have a folder with several sub-folders containing several arquivos.SQL I wonder if you have any command of cmd to search and copy to a single file all my files .SQL found. I was able to do this…
-
1
votes1
answer305
viewsCopy files with error: System cannot find specified path
I am with a personal project that aims to automate the process of creating folders of the services I provide. Currently my goal is to create 2 basic script for the Prompt Windows, where it…
-
1
votes1
answer35
viewsCreate a . bat <source>"filename_2021_01_10_code" <target> another server
I created a .bat that was functional and there was the need to modify to select and copy files by the month of each current year for a Storage. File name:…
-
0
votes2
answers4946
viewsHow to create a Keystore at windows prompt?
I want to sign the apk of my app that has been ready for 1 month, but I can not in any way create this 'Keystore'. I tried online, in Android Studio(zzz) and I’m trying the command prompt for 2…
-
0
votes3
answers109
viewsPrompt in javascript does not redirect
I have the following script on a page: <script> function fnPage(){ var page = prompt("Para quel página deseja ir?"); if (page != null) { location.href="http://" + page; } } </script>…
-
0
votes2
answers2454
viewsA. bat file that changes the background color according to the number the user entered
The code below should change the background color after the user enters a number from 0 to 7, but the program closes right after the user enters the number and does not change the color. I’m using…
-
0
votes3
answers2361
viewsConfiguration Network via prompt
As deactivated via command prompt the check boxes "Use automatic configuration script" and also "Do not use proxy server for local addresses"? To disable the proxy, I am using the command:…
-
0
votes1
answer1181
viewsHow to set . exe compatibility mode by prompt?
I’m creating an application in Lectron, but notifications only work if the application is running in windows 7 compatibility mode. I currently ask the user to right-click the . exe, go to…
-
0
votes2
answers89
viewsDoes the prompt command change the value?
Making a simple code to calculate how much I need to reach my college average. The problem that I cannot receive the values on the keyboard, I use the command prompt but the result is not the same.…
-
0
votes1
answer213
viewsGit Bash runs NPM on Windows Prompt
I’m using the Git Bash to run my project developed with React. After I started using the Windows 10, when typing the command npm run dev a new Windows Prompt window opens for running the command,…
-
0
votes1
answer321
viewscommand prompt instantly closing
I am programming in C and using Code Runner to run the code, but whenever I click Run, the command prompt opens and closes very quickly. The problem is with the command prompt closing alone, because…
-
0
votes2
answers223
viewsMy print function does not work at windows command prompt
I’m starting to study programming. I downloaded version 3.8.3 of Python and to write the programs I downloaded the Sublime text that allows running the programs on the platform itself. When I…
-
0
votes1
answer1936
viewsPowershell and VS Code does not recognize "Set-Location"
Man PowerShell does not recognize the Set-Location, this has been happening for a while now every time I run a code in VS Code because my work and projects are in the cloud and on another HD but I…
-
0
votes1
answer35
viewsCmd admin to no admin
I saw in this link that it is possible to change to Adm in Win7. Creating a . BAT and executing the code with administrator privileges But I wanted to know how to change back so no one would notice…
promptasked 4 years, 3 months ago igorFporto 11 -
0
votes1
answer30
viewsHow to run a class code in Android Studio when you don’t have an Activity?
I’m trying to learn Kotlin, but I want to test certain algorithms and I can’t run a class because Android Studio can’t find Main Default. Doesn’t have a way to run a class at the Android Studio…