Batch file formatting hard drives




















Sounds like your looking for a imaging and deployment system. U2Cloud is an IT service provider. I guess my question is why not use WDS? Unless you are needing to do some type of DoD formatting and not just a simple format, WDS would handle this for you. Government laptops used for program testing so all internet functions are turned off.

In fact, it could be on a subnet that only does imaging if you wanted to. My script goes like this. Improve this question. Batch files are programming. Add a comment. Active Oldest Votes. I won't try it here, since I like my disks the way they are currently. Improve this answer. Joey Joey 1, 11 11 silver badges 13 13 bronze badges.

Marks answer seems to be able to do it with one diskpart call, do you know if that works as well? RUN if "! Dharma Leonardi Dharma Leonardi 2 2 silver badges 6 6 bronze badges. Andrew Schulman 8, 21 21 gold badges 29 29 silver badges 45 45 bronze badges. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace. Remember Me?

Advanced Search. Results 1 to 4 of 4. October 4th, , PM 1. We will use the colon as a delimiter to split the line in tokens. For each element in the list a vol command is used to determine if the drive is available and if no errorlevel is set then the dir command is executed.

Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 6 years, 9 months ago. Active 3 years, 11 months ago.

Viewed 3k times. I tried to make a script following this topic batch script to find drive letter of a mounted device but there is no real success. Anyone maybe can help here? Community Bot 1 1 1 silver badge. Is it a requirement that this script is implemented in batch?



0コメント

  • 1000 / 1000