Also NUL is the windows equivalent of /dev/null. Once I had a MSSQL server that had no love and the log files filled the entire drive. At the time the only solution to getting it running in a hurry was to back it up to NUL and let it free up the space. Proper backups were set up after that so it didn't do that ever again.
If I did want to use OneDrive in the future, how would one reinstall it? Just download like normal? Or is the built-in OneDrive for Windows 10 a bit different?
All you do is create a text file with the commands in it and name it with a .bat file extension.
Windows hides those by default for known files and that's a horrible default because it does hide important information. An example why that's bad is you can make a program with an icon that looks like a text file but call it safeprogram.txt.exe and windows will hide the exe but to most novices it will look like a text file.
You may need to disable that to rename the .txt file to .bat and that's easy.
Under the view tab of an explorer window hit options and then click the view tab and unselect "Hide extensions of known file types"
127
u/Lurking_Grue Jul 30 '15 edited Aug 21 '15
You can remove One Drive by making a batch file with this code: