Questions tagged [cmd/bat] (595)

1
answer

How to open ports in Windows utility iptables?

Tell me how to open ports on the server WINDOWS firmware using iptables. Thanks in advance!
ethan_Watsi asked April 19th 20 at 12:47
1
answer

Is it possible using Batch create .txt file filled with nul-bytes in size is 102400 B and when you enter text, nul-bytes trimmed/added to 102400 B?

Hi, please advise is there any program or solution to not knowing how to program. Is it possible using Batch or some other way to create .txt file size is 102400 B exactly filled with nul-bytes, so the size always remained the same? That is, if this .txt enter/delete text, nul-bytes are cut/added, the file size always rema...
hallie51 asked April 19th 20 at 12:42
2
answers

How to make your command in cmd?

Wadis abc, and in the console says aabbcc. Explain how nesnausk man, pls
gwendolyn.Fisher asked April 19th 20 at 12:32
1
answer

The script add a variable address?

Salute. Task: to add to the number of mikrotiks 192.168.1.1 192.168.2.1, etc addresses to the ip tunnel. The question of how to automate this? If it is known that, for example, 192.168.1.1 - will address 172.0.1.1 to 192.168.2.1 - 172.0.2.1 ip address add address=172.0.1.1/32 interface=IP_tunnel network=172.0.1.1 . Usually...
francesco.Zulauf asked April 19th 20 at 12:22
2
answers

What to make a program to interact with Windows CMD?

I need to make a simple program that will execute commands in cmd. What could this be done? Specifically the scheme is: I have harvested .cmd files, which I give rights to folders to users through the utility Cacls Example: cacls D:\Folder /E /G Domain\User1:C, Domain\User2:R That is, the program will have to be input f...
Casey85 asked April 19th 20 at 12:08
3
answers

How to make clickable text in a. BAT file?

How to make clickable text-selection in a CMD/BAT file, i.e. by clicking on any text the command was executed goto :cmd1 And if in command line, it can be done, then tell me the program through which it is possible to do so.
darian asked April 18th 20 at 13:28
1
answer

Is it possible to switch mono/stereo sound in Windows 10 using command prompt?

Every time to do it manually as it is not very, do not tell the team?
Bobbie90 asked April 18th 20 at 13:05
2
answers

Nginx Ffmpeg transcoding .bat is not listening the port?

Welcome. Don't know choose the right branch or not. But the issue is. Is Windows 10. Nginx+ffmpeg The stream is sent to nginx and is divided into two streams. One stream goes to a single stream facility in bitrate 25мбит. The second stream is sent to ffmpeg in transcoding with the last broadcast in 7мбит to another stream s...
Cristoba asked April 18th 20 at 12:43
3
answers

How to run a PS script through cmd?

There is a script. $username = 'administrator login' $password = 'password' $secstr = New-Object -TypeName System.Security.SecureString $password.ToCharArray() | ForEach-Object {$secstr.AppendChar($_)} $cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $username, $secstr Start-Process -cred...
Shannon85 asked April 18th 20 at 12:41
1
answer

How to send a file to the server with the replacement with built-in utility ftp.exe by running cmd?

You need to create a code for the cmd file, which will lie next to the target file in the same folder. When you run this cmd, the target file is sent to the ftp server and replace the file there with same name and extension. In the code for a batch file I would like to have an indication that there is a file with specific n...
royce asked April 18th 20 at 12:40