About 1,610,000 results
Open links in new tab
  1. Windows batch files: .bat vs .cmd? - Stack Overflow

    Sep 29, 2008 · .ps1 is a Windows PowerShell file which is an entirely different language from .bat/.cmd batch files.

  2. How do I make a batch file recognize file extensions in For loop?

    May 14, 2021 · 0 I'm trying to make a batch file, a newer one than the one I made last time, and I'm planning to add to my previous program, for organize all of the respective images it finds into folders …

  3. windows - change file extension in batch - Stack Overflow

    May 15, 2016 · change file extension in batch Asked 9 years, 7 months ago Modified 4 years, 3 months ago Viewed 18k times

  4. Delete all files of specific type (extension) recursively down a ...

    I wrote a batch script a while ago that allows you to pick a file extension to delete. The script will look in the folder it is in and all subfolders for any file with that extension and delete it.

  5. Getting the file name without extension in a Windows Batch Script

    Change the action to call a batch file: RunCompressor.bat "%1" Use %~n1 to get the filename without the extension in RunCompressor.bat: start javaw.exe -jar yuicompressor-2.4.2.jar -o "%~n1.min.js" …

  6. How to run a PowerShell script within a Windows batch file

    Aug 30, 2015 · Windows PowerShell console file extension must be psc1. CMD isn't really altogether happy with the situation either - although it does stumble on '#', it is not recognized as an internal or …

  7. Batch: Remove file extension - Stack Overflow

    Jul 9, 2010 · For instance %~dpn0 will return the path of the batch file without its extension, %~dpn1 will be %1 without extension, etc. Whereas %~n0 will return the name of the batch file without its …

  8. Add text to end of filename (but before extension) using batch file

    This line of code will loop through all the files matching *.txt and perform a rename command (ren) on each filename. %a is the full file name, %~a is the filename without extra quotes added (quotes are …

  9. Is there a way to change multiple file extensions at once on Windows …

    Jan 9, 2024 · If I have a bunch of files with one file extension, is there a way to quickly change them to another file extension without having to manually change one file at a time? The Microsoft support …

  10. How can I bulk rename files in PowerShell? - Stack Overflow

    Apr 13, 2014 · Rename-Item c:\misc\*.xml *.tmp I basically want to change the extension on every files within a directory to .tmp instead of .xml. I can't seem to find a straight forward way to do this in …