Search the Community
Showing results for tags 'Command Prompt'.
-
Hello! I have made a program, that opens a folder, and then store the path ("C:\programFiles\etc") in a variable. Then i need to open the command panel as administrator, and write in the stored path, and some other text. Can i somehow instantly copypaste the text i needed, instead of writing...
- 2 replies
-
- command prompt
- command panel
-
(and 3 more)
Tagged with:
-
How can I detect when a Command Prompt window has returned to idle with prompt for the next command please? For example, after a large paste: ControlClick("[CLASS:ConsoleWindowClass]", "", "", "right") ControlSend("[CLASS:ConsoleWindowClass...
- 3 replies
-
- command prompt
- paste completion
-
(and 1 more)
Tagged with:
-
Good morning AutoIt community! Today, I'm here to ask you if you know how to run an .exe from cmd.exe ( Command Prompt )... My intention is to read a .ini file where I store an information that has to be included in the shell, and run an .exe with that information... I'll give you an example...
-
I need to create a new administrator account on a number of computers, so figured I would make a script to do it. You can only add/modify admin profile from an elevated command prompt (administrator command prompt). So I tried writing that into my short script. I thought that my "RunAs" comman...
- 6 replies
-
- windows 10
- autoit
-
(and 1 more)
Tagged with:
-
Hi all, I am working on a application with a GUI and command prompt in 1. Currently my code looks this simple > #AutoIt3Wrapper_UseUpx=y #AutoIt3Wrapper_Change2CUI=y #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Form1", 615, 437, 192, 124) GUISetSt...
-
When I execute any batch command then it is prompting a command window for 1 second till the command executes with the below command. $CMD = "net localgroup administrators domainaname\usename /add" RunWait(@ComSpec & " /q /c " & $CMD) Is there any way to exeute the command without showing the wi...
- 9 replies
-
- cmd
- command prompt
-
(and 1 more)
Tagged with:
-
Trying to make a script where it will run a command to show me the model name AND serial tag info on a laptop remotely and copy it to keyboard step by step. I know how to do this via WMIC but I'm curious how to create a CMD script out of it so I can just one click. So it would look something like......
- 4 replies
-
- cmd
- command prompt
-
(and 3 more)
Tagged with:
-
Hello, I am checking code with Microsoft BinScope 2014. It runs in a command line. You may be familiar with it if you are testing security for DLLs. Anyway, I get a directory of .DLL and corresponding Symbol .PDB files from developers. The .dll and .pdb filenames have to match to run BinScope on the...
-
#include <Constants.au3> HotKeySet("{ESC}", "_Exit") Global $up= Ping("www.bing.com") Do $date = @MDAY & "" & @MON & "" & @YEAR $time = @HOUR & "" & @MIN & "" & @SEC Run(@ComSpec & ' /c ping -t -s 1 myservername >> %userprofile%\desktop\' & $date & $time & '.txt', @SystemDir, @SW_show) ConsoleWri...
-
So I'm working on a general maintenance script. Part of it is to run chkdsk (just check no /f /r) and report that to a file. So far whenever i run the script, everything works perfectly, but i get errors on the chkdsk readout file, but then if i follow up with running chkdsk manually i get no error...
-
I am trying to get information from a DOS-window by getting a spesific line of information (SID) I found the _RunDOS ( $sCommand ) function, but I could not find any way to get the information or store it in any way(variable/notepad/....) Anyone got any idéa? =) Can be a dos command, VBScri...