Questions tagged [cmd/bat] (595)

2
answers

How to sort files by modified date of the file folder where the folder with the name and date changes through the bat?

Good day! Please help in writing a bat script in the folder take all the files and sorted by "date modified" of each file in its own folder with the name date, type DD.MM.YY. A lot of files. For example there is a file with the date modified:D:\\test\FILE01.avi //15.09.2019 D:\\test\FILE12.avi //18.09.2019 D:\\test\FILE06.a...
dion_Nicol asked March 30th 20 at 01:27
1
answer

How to make a bat file to install files Office updates or Windows?

Good afternoon. There is a problem with displaying charts in Excel. Office 2016 with updates from 18 years does not see the charts created in Office 2016 with updates from September 19 onwards. The problem is solved by installing updates: 57 pieces In hand to put tortured. The server does not tightens the machine. The idea...
eleazar.Carter asked March 30th 20 at 01:17
1
answer

How to write .cmd script to open a project (folder) in the program?

There is a project in LUA, to run drag the entire folder on the program icon. Is it possible to write some kind of script when opening a program which would open this folder. In General, it is necessary to simplify the startup procedure.
Claud asked March 30th 20 at 01:16
2
answers

Console download folder on hosting, what would you advise?

Hello! You need to upload a folder with under folders and files to your hosting. While reading forums, I realized that the standard ftp command - it is better not to use it. If not difficult, show an example. And have not understood this point: if you want to save the folder from the PC hosting the desired directory how to ...
cruz asked March 30th 20 at 01:03
2
answers

Bat file how to replace a string in a php file saving with Russian letters?

Hello! I have the php file (UTF8). It is necessary to replace foo on too. doing in a. bat file like this codepowershell -Command "(gc index.php) -replace '{PARARAM}', 'bar' | Out-File index1.php" foo on too is changing, but flying all the Russian letters (RRR"SRR) With encodings played 2 hours - so far without avail. If the...
Cara3 asked March 30th 20 at 00:52
1
answer

And substring Findstr in cmd or how to get a piece of string?

There is a command issuing the information in the following format:cluster : 1234asdf-a12f-451d-a1b1-0123456abc78 host : hostname And so on. Need to get only the value of the cluster. rac.exe cluster list | findstr "cluster" Gives all the string, together with the cluster , and this part I don't need. But to use substring t...
shirley asked March 29th 20 at 21:35
1
answer

How to add file in startup no matter how it is named?

There is code in the batch file: copy /y "program.exe" "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\" program - the program name. But if the program is named differently, alas, does not work. How to make despite how the above program - it added to startup ? Or that you need to do to when you open the program, it...
Doug_Bradtk asked March 29th 20 at 21:32
1
answer

Need-driven SIP client via the command line. Where such to take?

Need-driven SIP client via the command line. To play music at the right time I.e. the algorithm is as follows: incoming call pick up the phone. After an UNDETERMINED time after receiving the signal, for example, run CMD command, which tells the client to play the sound file. Waiting on. After an UNDETERMINED time after rece...
zetta_Murphy asked March 29th 20 at 20:58
0
answer

Why not run the RUNAS?

Good day! There is a need to run one softinu on the side of the VA on behalf of the administrator. The seven rescued a batch file with such contentrunas /savecred /noprofile /env /user:PC\Administrator C:\TLC5000\TLC5000.exe In the top ten of these things when you run the batch file fails with error 267 Incorrectly specifie...
ewell_Eichmann asked March 29th 20 at 20:47
2
answers

How to connect to wifi via сmd?

Can't connect to the network using command netsh wlan connect name=. Says "the Specified interface is not assigned to profile". Prescribe command netsh wlan show profile, this network really is not there. How to solve this problem?
Natalie_Yundt asked March 29th 20 at 20:39