Nuacht

Tips If you need to edit the batch file later, browse to the Startup folder in Windows Explorer, right-click the file and click "Edit." Double-clicking the file will run the batch file immediately.
Figure B Save the batch file and close out Notepad. If you double-click your new batch file, it will run (probably faster than you can notice) and OneDrive will be mapped to a drive letter.
When you're in DOS, you know how you can run 'edit' no matter what directory you are in? I'd like to be able to do that with a batch file. Can anyone direct me on how to do this?
To defragment a single hard drive or multiple drives on your Windows PC using a Batch file, you first need to create the batch file and then run the .bat file with admin privileges. Here’s how: ...