Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged Batch

0 votes
1.1k views
1 answer
    I am writing a batch script for an user interface where you can enter the digits 1 - 10. its pretty ... when I type something different? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have a folder and contains some rar files and subfolders. These subfolders contain rar file or subfolder ( ... QuestSub3.rar --QuestCon4.rar See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I am very new to this. Please help me I was trying to write a batch file program to count number of files ... syntax, thank you in advance -VK See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    How to run multiple dos commands? I have a for loop, which runs detection of server to detect which server ... in sequence, but in parallel. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Is there any command in batch to search and replace a string in environment variable PATH? For example the ... replace it by C:Python27. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I am seeking comments on how to schedule auto updates of a database (.accdb) since I am not very comfortable with ... ride of the .bat and .vbs See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I need to write a script to change a filename from aDate.txt to bDate.txt where: aDate is the current system date ... new month and so on for years. Any ideas? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Does anyone know if it's possible to copy text from a Windows' command prompt or console window like the output of a command, console application or batch file? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
930 views
1 answer
    Scenario I have a remote computer that I want to run installers (arbitrary executables) on programatically. These ... this for the Task Scheduler work around. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
967 views
1 answer
    I am trying to add the current directory (from a command-line) to Windows path permanently, but I am having serious ... 'd be happy to get this info as well. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    In Windows you can zip some files by right click → Send to → Compressed (zipped) folder And unzip ... the need to install any third-party software? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
975 views
1 answer
    as discussed in an other thread How to avoid cmd.exe interpreting shell special characters like < > ^ it is not ... each situation, not only in the most cases. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I made this code dir /B /S %RepToRead% > %FileName% for /F "tokens=*" %%a in ('type %FileName%') do ( set ... want to split the variable like %z:~7% Any ideas? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    Is there a way to read in the output of a 'dir' command into an array in a BAT file? Or would I need to ... a c=c+1 ) REM test array ECHO !dir_4! ENDLOCAL Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I use the following to get the current date/time in a more readable format: set day=%date:~4,2% set mth=%date ... in the format with two digits for the hour? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I installed Python 2.6 and Python 3.1 on Windows 7 and set environment variable: path = d:python2.6. When I ... sys print (sys.version) What's going on here? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    The following FINDSTR example fails to find a match. echo ffffaaa|findstr /l "ffffaaa faffaffddd" Why? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    A frequent method to handling errors within Windows batch scripts is to use things like if errorlevel 1 ... or if ... this Q&A to share what I have found. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have a batch file that computes a variable via a series of intermediate variables: @echo off setlocal set base= ... if there is a less cringe-worthy solution. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I want to run a simple one-liner in the Windows CMD prompt to print my %PATH% variable, one entry per line. I tried this: ... echo 1 1 Z:>echo 2 2 Z:>echo 3 3 Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
961 views
1 answer
    I have a batch file which I am calling from C++ using system("name.bat"). In that batch file I am trying ... amd64 folder. I'm mot sure why that is happening. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
3.5k views
1 answer
    Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    The ERRORLEVEL is a value returned by most cmd.exe commands when they end that change depending on a series of ... the ERRORLEVEL to any value (including zero)? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
891 views
1 answer
    The command for can be used to enumerate a directory and apply (a) certain command(s) on each item. ... also my similar question about the forfiles command. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Is there a built-in way to measure execution time of a command on the Windows command line? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
962 views
1 answer
    Here is a simple batch file that demonstrates how delayed expansion fails if it is within a block that is being piped ... !test2! !test3! Sort workaround x y z Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I need to set values to a environmental variable using a batch file. I wrote the script for this: @echo off set value ... working too. Note: I am on Windows 7. Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    How do you convert an entire directory/folder with ffmpeg via command line or with a batch script? Question&Answers:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...