Zhihu Q&A
[Answer] I accidentally deleted a few environment variables while trying to use Visual Studio Code to write C. How can I fix it?
March 22, 20261 min read
![[Answer] I accidentally deleted a few environment variables while trying to use Visual Studio Code to write C. How can I fix it?](/_next/image?url=https%3A%2F%2Flxunzzzdnokdqhipbmdf.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fmedia%2Fcovers%2Fvisualcodec-678ef9d0.png&w=3840&q=75)
[Answer] I accidentally deleted a few environment variables while trying to use Visual Studio Code to write C. How can I fix it?
[Answer] I accidentally deleted a few environment variables while trying to use Visual Studio Code to write C. How can I fix it?
There’s no need to reinstall the system. If you remember which environment variables you deleted, just add them back.
Environment variables are simply variables that point to specific locations, so they generally won’t cause any major issues.
![[Thought] Many viruses you’ve probably never heard of also contain DNA, such as iridoviruses](/_next/image?url=https%3A%2F%2Flxunzzzdnokdqhipbmdf.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fmedia%2Fcovers%2Fdna-39161584.png&w=3840&q=75)
![[Answer] What did you do on the night you checked your Gaokao score?](/_next/image?url=https%3A%2F%2Flxunzzzdnokdqhipbmdf.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fmedia%2Fcovers%2F-e4a8ec38.png&w=3840&q=75)
![[Answer] How Can You Score 130+ on the Gaokao Math Exam?](/_next/image?url=https%3A%2F%2Flxunzzzdnokdqhipbmdf.supabase.co%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fmedia%2Fcovers%2F130-157dba52.png&w=3840&q=75)