I try to remove all folders except ones from a list or ending with a specific value. I've got some ways to remove folders with a specific name, but I ...
I try to remove all folders except ones from a list or ending with a specific value. I've got some ways to remove folders with a specific name, but I ...
how to change the current directory and print it in one line? I tried C:\dir1> cd /d D:\dir2 && echo %cd% but it prints C:\dir1 ...
I was trying to use the return from myPowershellScript.ps1 to use as a variable in my batch file. myPowershellScript.ps1 I was trying to use the F ...
I have two text files: remove.txt collors.txt I want to remove the occurrences of remove.txt lines inside collors.txt and save it as output.txt ...
I have the following data in a # delimited CSV data file called clean.txt: The fields on each row are: START and END are integers in millisecond ...
I have tried several approaches to this and had some success, but now I am trying to stitch it all together and need a little assistance. The followi ...
I'm creating a batch script to daily convert screen captures to video Its all working except I cant get the screen caps to start at 0001 each day,so m ...
I have written and used a windows batch file that has been working without a problem for quite a while. This is what it does: The program loops throug ...
Came across this oddity of batch behaviour as part of the build process in our systems that I'm trying to automate in Jenkins pipelines. To skip to t ...
I am unable to get the time stamp in file name by using batch script in Windows Server 2022 Datacenter 64-bit Version 21H2(Build 20348.1487). Could yo ...
So basically im trying to making a batch script which renames the directory "C:\Program Files (x86)\Steam\steamapps\common\SteamVR" to "C:\Program Fil ...
I'm trying to figure out how to echo %findstr% to only display the number after this word I would like to echo only 8888 so I can use it as a set ...
Hi i am trying to add to display the current time of the video as an overlay. i have tried to do follow the answer of this previous post: https://supe ...
The idea is I want to check if a substring is inside of a string with Batch script. For example I want to check if pass is inside of %rev%. If no for ...
I'm trying to create a script to populate the existing users folders on a Windows workstation and then do a 'for each' to: remove the directories c:\u ...
I'm trying to create a .bat file that can add a local (non-admin) account and sets the password to never expire. However, when I run it, I don't see t ...
Working on a Caffinate Alternative for Windows and was wondering if there was a way I could grab just the GUID of the current used powerplan without t ...
I'm writing a batch script to detect the current system type, but I found that the result after I run it is not what I expected. And my computer's sys ...
can someone help me to keep original name in input as output For example, i have a "Video.mp4" i need to convert it in mp3 as "Video.mp3" but i cant ...
i want to make an IF NOT EXIST for some files like but it says i already put them all png and jpg files but i think i do somenthing wrong :O ...