Skip to main content

All Questions

Tagged with
0 votes
0 answers
57 views

Schedule a task with admin privileges Windows 10

I feel like this should be easy but I am not making any further progress. I have seen the other post mentioning Windows 7 and UAC prompts but the accepted solution on that did not post work for me. ...
roar's user avatar
  • 1
2 votes
1 answer
93 views

A batch file with an executable file checks if it is not in the processes in order to run another batch file (or code from it)

There are two batch files. Need to add a condition to the first file if the process is running nvcplui.exe then nothing, and if it is not running, then the second file (or the code from it) will be ...
Agodless's user avatar
2 votes
1 answer
210 views

How can I check that files match a list of MD5 checksums on Windows 10?

I downloaded a large number of files via this magnet link (Apache 2.0 license), then moved the files around between a few devices. I now want to check the integrity of the files. A file lists MD5 ...
Franck Dernoncourt's user avatar
7 votes
3 answers
4k views

How can I skip a cycle in a FOR loop?

I am running a Batch script for processing some files. When it determines that the current file needs no processing I would like to skip the rest of the commands for that file and move directly to the ...
Bricktop's user avatar
  • 313
0 votes
0 answers
47 views

How to open the windows 10 keyboard with a batch file on tablet mode without minimizing current window?

I have a .bat file with the following: start OSK.exe This opens up a keyboard. Now the issue is that this batch file is ran when the PC is on tablet mode. Unfortunately this causes the current window ...
MyProgramSucks's user avatar
3 votes
2 answers
3k views

Extract text between two strings from a file and save the output

How to extract the text between two strings from a file and save the output to another file, and invoke it in batch, at command line? To be more specific, let us say that the input file is SomeFile....
digital-Ink's user avatar
2 votes
2 answers
312 views

About saving the ASCII code dec 27 into the variable %ESC% in the following cmd snippet

for /f skip^=4 %b in ('"echo;prompt;$E|cmd"') do set ESC=%b If I redirect this command to a file I can see that there are 4 CR/LF in the file. The last characters in the file are in HEX 0D ...
Einar Flaathe's user avatar
0 votes
1 answer
137 views

Error using escape sequences with ANSICON .EXE - I'm getting: 's not recognized as an internal or external command

This is my batch file: ansicon -p [0;30;4;40mThis is a sentence.[0;1;31;40mThis is a sentence too. pause With @echo off in the batch file I'm only seeing: 's not recognized as an internal or ...
Einar Flaathe's user avatar
0 votes
1 answer
3k views

Batch file. Open a set of Crome tabs in a new window

I have the following batch file that opens a set of few tabs in separate Crome window for the specified profile. @echo off start chrome --new-window --profile-directory="Default" "...
Андрей Кокорев's user avatar
0 votes
1 answer
200 views

How to overwrite text on specific line in Batch [2nd Duplicate]

I have already tried this: { @echo off setlocal enableextensions enabledelayedexpansion for /f %%a in ('copy /Z "%~dpf0" nul') do set "CR=%%a" <nul set /p"=This is ...
01maxzie's user avatar
0 votes
2 answers
2k views

Batch file can't find path to drives other than C

New to all of this* I'm trying to run three applications from one batch file, two are on E: drive while one is on F: drive. I get a "windows could not find the file" error. I've allowed full ...
Ashh's user avatar
  • 3
0 votes
2 answers
82 views

how to add directory inside this power shell script

<# copy desktop.ini recursively #> Get-ChildItem -Recurse -Directory| foreach { copy "D:\Programs\Media\Media Manager\Filebot\cmdlets\desktop.ini" $_.FullName} <# set folder ...
Rami Magdi's user avatar
0 votes
1 answer
351 views

Connect automatically to wifi as soon as available and if it gets disconnected connect again

My windows 10 disconnects automatically from wifi sometime. My pc is not having monitor i am controlling it over remote desktop team viewer. Also sometimes running cleanup utilities disable the auto ...
raja's user avatar
  • 1
0 votes
1 answer
247 views

How do I force Windows Command Processor to launch in the background?

I am running some Stata code which calls the Windows command prompt in a recurring loop once every second. Every time it does this, a new instance of Windows Command Processor launches in the ...
user770884's user avatar
1 vote
0 answers
1k views

Batch command to change default apps - Windows 10

I would like to include commands in my batch file that automatically sets the default apps for .html, .https and for Photos. I know how to change the file association by running: ftype htmlfile="...
Clayton Seager's user avatar

15 30 50 per page
1
2 3 4 5
16