Skip to main content

All Questions

Tagged with
9 questions with no upvoted or accepted answers
1 vote
1 answer
557 views

DOS batch file to display netsh channel output

I'm trying to get wifi Channel output from netsh command to be 2.4GHz or 5GHz The following provides me with Channel output: netsh wlan show interface name=Wi-Fi | findstr "Channel" Output ...
mnauta's user avatar
  • 11
1 vote
1 answer
766 views

How do I download the RSS Feed XML file in dos command batch mode?

I have a specific requirement that I need to download the RSS feed file (it is in XML format) from the given link using dos command. I have tried the following command and it keeps giving me syntax ...
Manikandan Arunachalam's user avatar
1 vote
0 answers
358 views

Create variable from file text in MS-DOS 6.22 batch file

This doesn't work, for example: set var=<text.txt It can be done like this in BASH: #!/bin/bash variable=$(cat text.txt) echo $variable
cronulis's user avatar
1 vote
1 answer
361 views

Loop n-times on DOS 6.22

FOR /L %%parameter IN (start,step,end) DO command does not work on DOS 6.22. The /L argument to loop through a set of numbers is not available in DOS 6.22. FOR in DOS 6.22 can merely loop through a ...
porg's user avatar
  • 389
0 votes
0 answers
22 views

“psloglist” for system event returns an error: -1073740940

My batch must extract system and application events. I use two psloglist (vers. 2.82) cmd one after the other. psloglist \\Home -d 7 -f we sys > system.log psloglist \\Home -d 7 -f we app > ...
Luciano's user avatar
  • 11
0 votes
1 answer
2k views

How to start Notepad++ from a Windows 10 batch file?

When I Google this, I get pages about running Notepad++ from the command line, running batch files from Notepad++, and pages that start by explaining how I set my path variable. I am not allowed to ...
rcook's user avatar
  • 207
0 votes
1 answer
840 views

How can I check if a file starting with a letter is in the folder?

Why does this script always return "A" even when there are no files starting with A in the folder, but there being files starting with B and C? @ECHO OFF if exist %cd%\a* goto A if exist %cd%\b* ...
relo999's user avatar
  • 21
0 votes
1 answer
43 views

Check if an user has given as an input 1 or more then 1 in an batch file

I am having an question with an Batch file Is it possible to let an user choose how many files it will enter? For example set /p count=Enter the number of files you are willing to set: IF %count% ==...
Thomas de Vries's user avatar
0 votes
1 answer
268 views

Find the character in line?

I am trying to find the some character in file using find or findstr, for example file contents like: "/test/abctest/abci.txt = c:\abctest\tst\work\workt.txt;abc_test1" "/test/abctest/abci.txt = ...
user202968's user avatar