S
Shady Brady Hat
Guest
Using latest Visual Studio VB.Net on windows 10 with latest update. When I attempt to shell an Xcopy command it will work perfectly if there is no attempt to redirect the output that normally would go to the screen. I need to go to a file with the output. If I execute the same exact command and parms, etc in a CMD, everything works as I would expect and the file is created and filled with the normal screen output. See code example a for the command and parms.
C:\>"C:\WINDOWS\SYSTEM32\XCOPY.EXE" "G:\QuickenActive\*.*" "X:\Barron_Backup\QuickenTest_8-27-2020\QuickenActive\" /E /V /C /I /G /H /Y /R /z >"C:\Users\Gene\Desktop\SaveAnyDirectoryOut.txt"
Gene
Continue reading...
C:\>"C:\WINDOWS\SYSTEM32\XCOPY.EXE" "G:\QuickenActive\*.*" "X:\Barron_Backup\QuickenTest_8-27-2020\QuickenActive\" /E /V /C /I /G /H /Y /R /z >"C:\Users\Gene\Desktop\SaveAnyDirectoryOut.txt"
Gene
Continue reading...