batch file

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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
  6. 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...
  7. 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...
  8. J

    Windows 10 Resetting Network in Windows 10 with a batch file

    For some reason best known to itself, my PC will not allow me to access certain websites, big ones like Outlook, BBC, BT etc unless I go to network settings, reset the network and then restart the computer, after which all is fine until I next shut down the computer. I already use a batch file...
  9. FraidyMan

    Windows 10 Network ID reverts to "Business"

    10 Pro identifies the network ID as Business regardless of being set (repeatedly) as a "home" computer. The result is a morass of network connections and passwords that work then fail and change in inexplicable ways with every reboot. I have edited the registry, group policy, adapter...
  10. I

    Windows 10 Get only current IP

    Hi all! i need, for improve a script, to get only a specific ipadress (i have multiple network connection). This is the script, i pass the IP manually: echo off echo ================================== echo ==== CONFIGURAZIONE === echo ================================== ipconfig|find...
  11. Skynotempty

    Windows 10 Windows 10 File Explorer Gone HELP!

    In task manager, I tried to run new task explorer.exe Nothing Ran sfc /scannow Nothing Entered a batch file to terminate and run explorer.exe Nothing File explorer options through control panel are viewable/customizable but no matter what is done...
  12. J

    Windows 10 wi-fi problem at access point

    I've gone through all the troubleshooting information that I can find on this issue. My drivers are up to date, I have reset the winsock numerous times. I have gone through the following troubleshooting issues.: Start Command Prompt as administrator. When Command Prompt starts, enter the...
  13. Skynotempty

    Windows 10 Batch file to kill MS Word

    Working with a few documents in Win 10 using MS Word Closed the files, quit MS Word and then started doing cleanup I was informed MS Word was still open or the file was still in use by Word In Win 7 I had a batch file that rested on desktop which with one click would kill the task Can this be...
  14. Keith W

    Windows 10 Different Shutdown behavior from batch file than using Start>Power options

    This is quite a long read but please bear with me. I used to use a shutdown (.bat) script in win7 to backup my important stuff but couldn't make it work in win10 despite spending hours on the forums. It did work intermittently if I put it in the local logoff folder (group policies). So I wrote...
  15. M

    Windows 10 CMD.EXE - How to fix command output into variable

    Hi! I tried to send command output to variable. I'm using is in Windows 10.1903 x64 I used syntax: SET /P variable= | command I used batch by context menu to get word, characters and lines count in text file using old WC tool (it's great). First I used only copying output into clipboard by...
  16. Bear

    Windows 10 Pulling hair out calling php file from batch file

    I'm having a hell of a time getting php to return a string. I don't know where they are going to install my batch file so I set the file location via %~dp0. there are 2 functions in my .php file, one to process color another to process Joomla's Version. The joomla one worked fine until I made...
  17. pingaan

    Windows 10 Uninstalling device - command line style?

    Hi, I have been having an issue the past few months, but I have never really come up with a decent idea on how to work around it. It concerns a USB-hub that I'm using that my copy of Windows, for some reason, reinstalls every time I reboot the computer. I'm pretty sure that there must be some...
  18. J

    Windows 10 Have Win 10 and different computer can not see or share info

    I have desktop and laptop plus a netbook(small 11 in acer) all running win 10. Some times the laptop see the desktop and some times the netbook see the laptop. I noticed you had a small batch file and tried to run (1st post) The screen turns black and a few seconds later it goes away. If I go...
  19. M

    Windows 7 tasklist CMD

    I would like to know is it possible to make a cmd program in #C to monitor windows processes? CMD Starts and automatically sends tasklist command every 10 seconds. If new process starts during that 10 seconds it opens TXT or another CMD windows to inform me that process name and location...
  20. S

    Windows 7 Can anyone help on batch file processing..

    Hi I have a batch file command set up in a folder on my PC of which creates a new subfolder fine but what im trying to do is to be able to auto run that batch file when I click on the folder icon on the desktop. What I need to do then if poss for a message box or something come up to tell me...
Back
Top