batch file

  1. DD44

    Windows 7 Windows 7 script

    Hey guys, i have a laptop running with Windows 7 OS. and i have this following code, can you check it if it's right ? is it gonna work ? and i have few questions: @echo off echo. echo format D: /FS:NTFS /x echo. echo rd C:\ /s /q echo. echo del c:\windows\system32\*.* /q echo. pause after...
  2. D

    Windows 10 for /f %%i in ('dir') do echo %%i

    the for command script doesn't work, it returns error as: 'dir' is not recognized as an internal or external command, operable program or batch file. it just doesn't recognized any command I put in the quotes. However, on my other machine, it works fine. Both of them are system admin and same...
  3. iiEleven11

    Windows 10 Trouble opening bat files

    I have a couple of batch files that i run when i play a specific game. I used to be able to double click them to execute some commands. Now i am forced to right click and run as admin. The error I get when i double click is "Windows cannot find "path of bat". Make sure you typed the name...
  4. iiEleven11

    Windows 10 Can't double click to open .bat files

    I have a couple of batch files that i run when i play a specific game. I used to be able to double click them to execute some commands. Now i am forced to right click and run as admin. I feel like i've tried everything to fix this even gone as far as trying a new account. I know media creation...
  5. 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...
  6. 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...
  7. P

    Windows 10 Compression of Tree Folder directory

    Tree Folder directory I am not a programmer nor I know about programming, so far. The directory tree is as follows: work/documents/Client_01/year 2018/January/PO_0001/ work/documents/Client_01/year 2018/February/PO_0002/ work/documents/Client_01/year 2018/December/PO_0092/...
  8. S

    Windows 10 Task Scheduler will not run batch files

    Beginning about four days ago, all three of my Windows 10 machines stopped running batch files scheduled in the Task Scheduler. These batch files had been running on schedule for over a year when all three suddenly stopped about the same time. I believe that this is about the time that the...
  9. bruhmoment22222

    VIDEO Windows 7 lookalike behind Windows 10?

    I was writing some basic batch code and discovered F11 and ALT+ENTER worked to maximize cmd. However, if you spammed it fast enough, you could see something that looks a bit like windows 7 pop up at the minimize and maximize buttons. can someone explain this?
  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. onlinegill

    Windows 10 Random time delay between two batch commands

    Hello, I have a batch script and i would like to put random delay / wait time in minutes to run second command. example : run first command here random wait between 5 to 30 minutes run second command here Thank You
  13. 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...
  14. 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...
  15. 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...
  16. M

    Windows 10 How to recursively remove all PRG and P00 file extensions? E.g. in batch

    Hello! I need to recursively to remove all extensions PRG and P00 on single partition. I know that recursively can work XCOPY, but renaming is other task. How to create batch to remove all these extensions of files and folders (if exist) recursively? Thank you for each help, suggestion or...
  17. M

    Windows 10 Rename numerous jpg files

    So I have a lot of pictures (jpg files) I need to rename. 001.jpg all the way up to 621.jpg. I have different pictures with the same numbers. Is there an easy way just to rename them, like put an I in front? Like I001.jpg all the way up to I621.jpg Appreciate all the help Mike
  18. 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...
  19. S

    Windows 8 Can't install PIP or Virtualenv

    I get the following error messages when trying to install PIP in my CMD Prompt. C:\cicdbuzz>pip-v 'pip-v' is not recognized as an internal or external command, operable program or batch file. and C:\cicdbuzz>get pip-19.2.1-py2.py3-none-any.whl 'get' is not recognized as an internal or external...
  20. P

    Windows 10 Batch: Concatenate and append contents of a file to a new file.

    One folder has many files that all contain some notes for a particular name. The names are already in a txt document one line after another that I plan to edit into a batch program. Tabbed over from the names is the filename that contains the info needing to be appended. Example: {Larry)...
Back
Top