batch file

  1. P

    Seeking Script for Creating Recovery Partition in Autounattend File

    Hello I have a question I am looking for a script to create a recovery partition to put in an autounattend file
  2. ChatGPT

    How to Schedule Automatic Shutdowns in Windows 11: Step-by-Step Guide

    Do you ever find yourself working late on your PC, desperately hoping for a magical shut-down fairy to swoop in and save the day (or night)? Or perhaps you’d like to rest easy knowing your machine will turn off without you needing to babysit it? Windows 11 has your back, offering a variety of...
  3. T

    Windows 11 How Can I Replace First Hyphen in a Folder's Name but Leave All Other Hyphens in it Unchanged?

    Hello and Happy New Year. I’d like some advice and suggestions on how to perform a specific task involving batch renaming a large group of folders. I want to rename over 5,000 folders a certain way. I don’t have to rename them all at once. They are all in one central folder, at least for now...
  4. ChatGPT

    Mastering Batch Files: Boost Your Windows Productivity with Automation

    If you're a Windows enthusiast or just someone looking to simplify repetitive tasks, you’ve likely stumbled upon the transformative realm of batch files. They might sound old-school, but batch files are far from obsolete. They’re like magic scripts tucked away in your PC that execute strings of...
  5. Curious

    Windows 11 Using Command Xcopy

    Hello, I need to copy all files in 6 diretories to another device using only one diretory but with all files the files only. Idon't want to replicate the original directiories in the new directory. On the files belonging the original directories. Because if I use /s he copies all the original...
  6. M

    Windows 10 Help with uninstalling a msi program with batch file

    I'm currently working on a script to uninstall a msi program that is installed on a client. The package doesn't have a GUID in registry but it does have its own uninstaller.exe I'm currently trying to use a msiexec /x %path/to/exe% /qn /f bat file to uninstall the package quietly without having...
  7. R

    Windows 11 Semi-automatic Creation of Windows ISO

    This guide is to automate many manual and error-prone steps of "How to create a Windows 10 ISO image for clean, in-place upgrade and repair install" when is used to prepare Custom Windows 11 ISO with pre-installed software, no user accounts. This guide is only applicable to Windows 11 (both...
  8. SwiftNet

    Workgroup: map drives for all local accounts

    The scenario: 40 users, 3 workstations, 1 NAS fileshare. These workstations move on quite often and we replace them with other donated systems. We have a batch file that adds all user accounts to each machine. I would like these machines to map drives upon user account login. I understand I...
  9. J

    Move all subfolders from parent folder to a new unique created folder in the target location

    Hi I made this batch code, to move all subfolders from "C:\1" to a new created folder inside folder "C:\2" @echo off set "sourceDir=C:\1" set "destinationDir=C:\2" set "newFolderName=NewSubfolder" mkdir "%destinationDir%\%newFolderName%" 2nul for /D %%I in ("%sourceDir%\*") do (...
  10. C

    Windows 10 Windows batch scrip - Window does not close after script

    Hi Guys, I have a one to run by you. I have a simple Windows batch script I run in the morning that basically opens various programs I use for the day. Lazy doing this...yup LOL. Issue is the command prompt window that pops up never closes after the script is run. I have tried ending the...
  11. Proactivo

    Launch a program from the icon tray in windows 10

    When I re-execute the program Progressbarsoflife.exe the icon apper in the tray of the system. I need the program maximize in the desktop. How can I do that. The program itself if not configurable with right click icon the option Restore Form is available With a batch, or perhaps with scheduler...
  12. D

    Please, I need a BATCH to delete all folders, except specific folders and sub-folders

    Hi, I have a SSD with several partitions. I need to work at J:\ and I need to delete everything inside J:\, except the following folders: J:\System Volume Information J:\$RECYCLE.BIN J:\New J:\Old Stuff And the following sub-folders: J:\Papers\Folder J:\Room\Main Documents J:\Year\Origin\Part...
  13. TomNXT

    Windows 11 batch script on logoff does not work

    Hello, so i added my batch script for auto turning off nanoleafs on pc shutdown via this tutorial Executing a batch script on Windows shutdown but it does not work, if you run the script alone, it works fine, but not on windows shutdown... any ideas? Its added in a shutdown folder and also...
  14. J

    Non-admin users not able to see scheduled tasks created by users with admin rights in windows server 2019

    Hi , I have created a scheduled task using an account with admin privilege in 2019 server and task is running fine. But just noticed that other non -admin domain users are not able to see the task in task library. I have tried below options , but no luck . Please let me know if anyone have a...
  15. Pemmons1

    Windows 7 Activating a program when files in a folder change?

    I would like to watch a certain folder and run a program ASAP when it receives any new files. It would seem to me that a service is the logical alert mechanism, but there doesn't seem to be an option in creating a service to trigger a program on that event. The program triggered can most...
  16. B

    Windows 8.1 How to make Batch Script run a command when it gets a response to ping...

    Ok so i want a batch file that will run in the background and ping a few servers, and then if it gets a response from any of these servers (If it is able to communicate with them), it executes a command. It will be running on a machine that in normal operation has no internet (WAN) access, (For...
  17. W

    Windows 11 about windows batch file on startup

    What commands will get a batch file to stop trying to start a program on windows startup? The following code below is what I had used to execute said program as a batch file: C:\Users\drumm\Desktop>start "" "C:\Program Files\WinRAR\WinRAR.exe" -pc MY-PC -launch
  18. J

    Windows 10 A guide on how to remote lock computers on the network with one batch file

    This method works on Windows 11,10, 8.1 & 7 as well. All programs for this guide are free. Download links PsTools PsTools - Windows Sysinternals FePsTools Front-end for PsTools | DaviTools Nircmd (At the bottom of the page. Not the 64 bit one.) NirCmd - Windows command line tool Winrar...
  19. ineuw

    Windows 10 Permitting users to delete their own browser profile files

    This issue is strictly about browser privacy between users of community desktop computers. Elderly users are sometimes forgetful while on the web. They forget to logout of their browser activities like Facebook, gMail etc, and then forget to logout of the community account. Some have even saved...
  20. LOL

    Windows 10 Is there any way to run a batch script without showing up the command prompt window?

    I have a server and it don't have backup so I need to run my custom batch script to get files from sftp then archive it. But I need it to run like a schedules, but everytime the schedules start the batch files. I allway open up the command prompt window. Is anyway to hide that window? Like...
Back
Top