batch-file tag

23 questions


1 answers
455 views
0
When you start powerhell from the batch, it opens for a moment and closes immediately.

1.Periodic execution of bat file@powershell-NoProfile-ExecutionPolicy unlimited-Command Start-Process PowerShell.exe-Verb runas C:\********\****.ps12.ps1 starts and performs actions with administrator...


3 answers
391 views
0
I want to do the same thing as "SET PATH" for Windows batch files from Python.

Batch files include:I would like to run test.exe from Python without using this batch file.run.batUse the command-line arguments when executing the exe file.SETLOCALSET PATH = %PATH%;..\..\samples\ext...

1 years ago

3 answers
79 views
0
I want to use robocopy in the bat file and copy a file with a name that contains spaces.

As the title suggests, I would like to copy the data using robocopy in the bat file.As I want to skip errors and leave logs, I am thinking of using robocopy to copy files.What is currently being doneC...

1 years ago

1 answers
133 views
0
I want to use robocopy in the bat file and print the data copy result to the LOG file.

I am thinking of using robocopy in the bat file and extracting a file name containing one character and copying it to another folder.I also want to copy the file name with blank space, so I wrote the ...

1 years ago

2 answers
136 views
0
I would like to make a program to log and compare on bat every day.

A list of files in a storage is retrieved daily as the file name [yyyymmdd.log] log and Compare today's and yesterday's logs, and create a program that extracts differences that are in the log yesterd...

1 years ago

1 answers
123 views
0
I want to run a batch file and SSH to the EC2 instance on AWS.

I'm thinking of putting the search engine for shogi software on AWS.I have used the following procedure as a reference.https://www.mikunimaru.com/entry/ShogiAWSI followed the procedure and confirmed t...


2 answers
80 views
0
I want to search the contents without extracting the compressed file.

This is my first post.I apologize for the lack of knowledge.Based on the contents of the compressed file (Zip, etc.) in Windows 10 environment, without taking timeI would like to create a batch file o...

1 years ago

4 answers
74 views
0
Right-click the .bat file in Windows and there is no "Open from Program" menu

How do I open a .bat file in Windows from the program?Right-click does not find the menu to open from the programI would like to open it using Atom Editor etc.However, you do not want to change the ex...

1 years ago

2 answers
83 views
0
I want to scale out the periodic execution process that handles huge amounts of data according to the amount of data.

I would like to run scripts using WebAPI that return huge amounts of data regularly with relatively short 5-minute intervals.A script that runs periodically retrieves data from WebAPI and then jumbles...

1 years ago

2 answers
64 views
0
Line breaks and spaces in text files disappear in bat

In bat, I wrote something to replace the characters in a file, but line breaks and spaces disappear.Please tell me how to solve this problem.@echo offCopy rem source file to tempcopy%~n1.tex%~n1_temp....

1 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.