FAQ Database Discussion Community


Testing for path in SysWOW64 returns true if path does not exist, but does exist in System32

excel,powershell,automation,system32,syswow64
NOTE: I am on a 64-bit system. I am having trouble finding articles regarding my current situation. I using PowerShell to test if a certain path exists: "C:\Windows\SysWOW64\config\systemprofile\Desktop" and it returns true even though the Desktop folder does not exist in SysWOW64. I know it is related to the fact...

C# calling batch file failed to copy dll files to System32 folder

c#,batch-file,dll,windows-7-x64,system32
I have created a batch file that copies some dll files into System32 folder. I ran this batch from my program written in C# code: string path = @"ABC\install.bat"; ProcessStartInfo procStartInfo = new ProcessStartInfo() { UseShellExecute = true, CreateNoWindow = false, FileName = "\"" + path + "\"", //Arguments =...

Directory enumeration is missing csrss.exe and lsass.exe (c#)

c#,windows,enumeration,system32
I'm trying to enumerate files in C:\Windows\system32 and C:\Windows\SysWow64. But I'm missing files csrss.exe and lsass.exe and possibly more, I only checked these two files. Those files are there, I can see them in total commander and in explorer. They are just not in the enumeration result. List<string> result =...