Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

174
Vistas
Gaining access to zip every folder in "C:\"

I want to zip every folder in "C:" to another hard drive. I am using following code:

strSource = "C:\"
strDestination = "D:\FileHere.zip"
Try
   ZipFile.CreateFromDirectory(strSource, strDestination, CompressionLevel.Optimal, True)
Catch ex As Exception
   MsgBox(ex.Message)
End Try
  'This code is written in .NET 5.0

The "Apps" folder is copied correctly, but then I get the error message: Access to path "C:\ Settings and documents" is denied. Image here

I have already ran the program as administrator with: level="requireAdministrator" in app.manifest , but I still didn't gain enough access to zip this folder. Does anyone know how I can get higher access, so I am able to do this?

Thanks!

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda