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
647 views
1 answer
    I want to find a string in a file using DOS: For example find "string" status.txt And when it is found, I want ... is the best way to do this? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
719 views
1 answer
    Here is my script: @echo off echo.|if defined 1 geq 1 echo 1 is geq than 1 echo.|if defined 2 gtr 100 ... 100 What is going with IF command? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
789 views
1 answer
    I want to copy from a wildcard source folder to a destination folder: xcopy a:parentfolder * x:parentfolder ... would be much appreciated. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
591 views
1 answer
    I simplified the code. The following three are work. for /L %a in (1,1,9) do @(if %a NEQ 0 (echo %a)) ... ) ) )|"%Unx_path%gclip.exe" exit /b See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
603 views
1 answer
    Im using sendemail in a batch file. At the end of sending an email it replys with a message of succses ... into a variable for processing? Thx See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
745 views
1 answer
    I'm trying to build a generic batch file that can tell errors with a line number, where the error ... echo Error near %currentLineNo% ) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
900 views
1 answer
    I ran the following command on the windows command prompt C:>tasklist /fi "Imagename eq BitTorrent.exe" The ... the windows command line ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I am trying to use forfiles to delete files that are older than 7 days. The files are in a UNC path. ... cannot get a clear answer googling. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
653 views
1 answer
    I have a dos batch file. mycommand.exe>c:emp find /B Serv c:emp>c:emp2 set /p var1=<c:emp2 SET var2 ... 3rd line last 7 characthers. Thats all. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
639 views
1 answer
    The following script works well when the filename is specified on the command line. tail.bat @echo off set "COUNT=%1 ... Last %COUNT%" ) EXIT /B See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
543 views
1 answer
    I have program, that must interact with a DOS program before my program can continue what it is doing. I'm trying ... up while this is going on. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
613 views
1 answer
    Given that the current directory, %CD% is C:ParentChild In a batch file, how can I get the value Child in to a variable? thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
698 views
1 answer
    I like to have a final PAUSE in my *.bat scripts so I can just double click on them in Windows explorer and ... like this: if defined GUI pause See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I'm trying to run taskkill on a console window that has spaces in it's title. How can I pass this ... eq Administrator: My Window Title" See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
914 views
1 answer
    In Windows, with START /node 1 /affinity ff cmd /C "app.exe" I can set the affinity of app.exe (number ... the affinity of a running process ? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
695 views
1 answer
    I am using python 3.4 at win-8. I want to obtain .exe program from python code. I learned that it ... ) Any help would be appriciated thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
860 views
1 answer
    I am trying to convert a MP4 video file into a series of jpg images (out-1.jpg, out-2.jpg etc.) using ... the frames of the video with FFMPEG? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I have found numerous ways to base64 encode whole files using the command-line on Windows, but I can't seem to ... in a batch file for example? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
444 views
1 answer
    I'm trying to use batch normalization. I tried to use tf.layers.batch_normalization on a simple conv net for mnist. ... what i'm doing wrong? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
793 views
1 answer
    I want to resize the command prompt window in a batch file, is it possible to set a height and width through ... just add in the batch file? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
652 views
1 answer
    I'm looking for a way to run just a couple PowerShell commands from the command prompt. I don't want to ... ." No error but nothing happens. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
659 views
1 answer
    I have a batch file that automates copying a bunch of files from one place to the other and back for me. Only ... exe which is not what I want. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
882 views
1 answer
    Here is my own program folder on my USB drive: Program run.bat bin config.ini Iris.exe library.dll etc. I would ... .exe" But it does not work. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
740 views
1 answer
    I know breaking out of a nested loop is fairly easy, however, I'm not sure how to do it when I'm working ... sessions terminated ) ) ) ) ) See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
794 views
1 answer
    I have a few scripts to help running a program in CMD. The first script that starts the sequence is run on startup ... it doesn't seem to help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
714 views
1 answer
    trying to make a .bat script, and need to get some strings working properly. This is what I've got so ... the way it processess loops? Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
662 views
1 answer
    I'm pretty new to this so please bear with me, and if you require anymore information from me please say. ... & guidance on this. Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Using Powershell v2 called from a batch file, I want to replace each CRLF in a file with just an LF. If a file ... How can I get this to work? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...